Skip to content

Instantly share code, notes, and snippets.

@caisback
Last active July 11, 2021 21:29
Show Gist options
  • Select an option

  • Save caisback/0b0fc0c876384082ff5bea4bb8a99814 to your computer and use it in GitHub Desktop.

Select an option

Save caisback/0b0fc0c876384082ff5bea4bb8a99814 to your computer and use it in GitHub Desktop.
ca's git cheatsheet

git create branch and checkout one command

$ git checkout -b 20200712-NavBar

git get the current branch name

git branch --show-current
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment