Monday, January 30, 2023

Git command Cherry-Pick

To get the commit changes in your branch, use the cherry-pick command of git as below.


    $ git cherry-pick commit-hash
  

changing the commit message of the last commit.

    $ git commit --amend -m "New commit message"

then do

    $ git push


No comments:

Post a Comment

Ruby Basics

Basics of Ruby   Start Ruby interpret On terminal just type rib ruby_docs $ irb 3 . 0 . 0 : 001 > name = "This is the first ...