< Back to list

git

Others

Cherry Pick
git cherry-pick -x <hash>^..<hash>

-x for showing in commit message
^ for including the first hash

Pull Change Without Commiting

https://stackoverflow.com/questions/20045946/applying-the-changes-from-branch-b-to-a-without-merging-or-adding-commits

git merge --no-commit --squash branchA
git reset HEAD # to unstage the changes
Resources