Skip to content

Instantly share code, notes, and snippets.

@casprwang
Created January 3, 2017 19:47
Show Gist options
  • Save casprwang/b7803fc5fc9e437946a8def29fd008e2 to your computer and use it in GitHub Desktop.
Save casprwang/b7803fc5fc9e437946a8def29fd008e2 to your computer and use it in GitHub Desktop.
github get every branch
$ git clone --bare {repo} .git
$ git config --bool core.bare false
$ git reset --hard
$ git branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment