Skip to content

Instantly share code, notes, and snippets.

@moaoa
Created March 27, 2020 13:12
Show Gist options
  • Save moaoa/cf105a7241a22d5c8f7b69c2bc3d5708 to your computer and use it in GitHub Desktop.
Save moaoa/cf105a7241a22d5c8f7b69c2bc3d5708 to your computer and use it in GitHub Desktop.
git checkout <git-hash>
git checkout <branch-name>
git checkout master
git branch // lists all the branches
git branch <new-branch-name>
git merge <branch-name> // merges the current branch with the spesified branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment