Believe it or not, git checkout
Believe it or not, git checkout
Thanks. I wonder what effect that has on the git history of branch 2?
For some reason I thought cherry picking might be the ability to take any file from any commit on any branch and copying it to the current branch.
Git’s smart enough to realize it’s the same commit and skip it.
Common workflow use of cherry-pick:
All this works without issue.
Fun fact! If you have to quickly swap between two different branches you should try:
git checkout -It will swap to the previous branch you were on. Have fun!
git switch - also works for this