Skip to content

Instantly share code, notes, and snippets.

@jido
Created February 4, 2017 09:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jido/ef35b926c87061ea8a2880f3a78754ad to your computer and use it in GitHub Desktop.
Save jido/ef35b926c87061ea8a2880f3a78754ad to your computer and use it in GitHub Desktop.
$ git push
fatal: You are not currently on a branch.
To push the history leading to the current (detached HEAD)
state now, use
git push origin HEAD:<name-of-remote-branch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment