Skip to content

Instantly share code, notes, and snippets.

@kuku
Created June 28, 2016 09:56
Show Gist options
  • Save kuku/a2a62b25e225e75ff97b9f58876b3c76 to your computer and use it in GitHub Desktop.
Save kuku/a2a62b25e225e75ff97b9f58876b3c76 to your computer and use it in GitHub Desktop.
当本地看不到远程git 分支的时候,可以这样来获得。 http://stackoverflow.com/questions/12578665/i-cant-see-my-remote-branch
git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"
git fetch origin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment