Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save abhitrueprogrammer/338922cdf4535123cf39958031370241 to your computer and use it in GitHub Desktop.
Save abhitrueprogrammer/338922cdf4535123cf39958031370241 to your computer and use it in GitHub Desktop.
Branching
git branch <branch_name> -> Create branchname
git checkout <branch_name> -> Checkout branchname
git branch -> list branches
git merge <branch_name> -> Merge branch with main
git branch -d <branch_name> -> Delete branched merged into main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment