Skip to content

Instantly share code, notes, and snippets.

@loonix
Last active April 9, 2021 14:44
Show Gist options
  • Save loonix/2b92a7b32c593276503b02dc07b7105d to your computer and use it in GitHub Desktop.
Save loonix/2b92a7b32c593276503b02dc07b7105d to your computer and use it in GitHub Desktop.
[Git] Most used commands

create branch from another branch git checkout -b subbranch_of_b1 branch1

move to different branch git checkout branch1

git merge branch git merge branch_to_merge_from

delete branch locally git branch -d localBranchName

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment