DEV Community

Kaviya R
Kaviya R

Posted on

COMMANDS IN GIT-3

git cherrypick:

git cherrypick is used to apply specific changes from one branch to another.Its specially used to commit the particular changes from one branch to another

git stash:

Its like "save for later" in our git.For example:your are currently working on something but you don't want to commit and you are leaving for another branch in that time so you can use the "git stash".

                 git stash
Enter fullscreen mode Exit fullscreen mode

git stash pop is used to kept your current working file aside without losing it.

Top comments (0)