Answers for "what cherry pick does in git"

19

git cherry pick

# from the  branch you want to apply changes

# it will bring all commit changes but also stage them
git cherry-pick <commit-hash> 

# it will bring all commit changes but leave them unstaged

git cherry-pick -n <commit-hash> #OR
git cherry-pick --no-commit <commit-hash>
Posted by: Guest on August-21-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language