Git Cherry Pick Tutorial

#create a release branch from master
git checkout -b release/1.0.5 master


# get the logs for the source branch we want to cherry pick from
git log develop --oneline


# this is the merge commit for DATA-506
951c3f9 (HEAD -> develop, origin/develop, origin/HEAD) Merge pull request #128 from artnetworldwide/feature/DATA-506


# checkout the destination branch (release/1.0.5), in case we switched branches
git checkout release/1.0.5

# cherry pick
# apply the changes introduced by the commit to the current branch (release/1.0.5)
# it creates a new commit
git cherry-pick 951c3f9


# cherry pick for multiple commits
git cherry-pick HASH1 HASH2 HASH2

How to reset, revert, and return to previous states in Git

https://opensource.com/article/18/6/git-reset-revert-rebase-commands

How to use VS Code as your Git editor, difftool, and mergetool

https://www.roboleary.net/vscode/2020/09/15/vscode-git.html

Export git with version history

http://stackoverflow.com/questions/11879287/export-git-with-version-history