Skip to content

Instantly share code, notes, and snippets.

@hdemon
Last active February 17, 2016 02:44
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 hdemon/2d37ef20ad1f059d4aa8 to your computer and use it in GitHub Desktop.
Save hdemon/2d37ef20ad1f059d4aa8 to your computer and use it in GitHub Desktop.
git hands on

git pushしたけどpushできてないっぽいパターン

upstreamが指定されていない

$ git push

fatal: The current branch hoge has no upstream branch.
To push the current branch and set the remote as upstream, use

    git push --set-upstream origin hoge
  • upstreamとは
  • upstreamを指定する方法
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment