Skip to content

Instantly share code, notes, and snippets.

@anteaya
Created January 2, 2009 02:33
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 anteaya/42449 to your computer and use it in GitHub Desktop.
Save anteaya/42449 to your computer and use it in GitHub Desktop.
anita@anita-laptop:~/sandbox/anteaya.github.com$ git push origin master
To git@github.com:anteaya/anteaya.github.com.git
! [rejected] master -> master (non-fast forward)
error: failed to push some refs to 'git@github.com:anteaya/anteaya.github.com.git'
anita@anita-laptop:~/sandbox/anteaya.github.com$
anita@anita-laptop:~/sandbox/anteaya.github.com$ git pull
You asked me to pull without telling me which branch you
want to merge with, and 'branch.master.merge' in
your configuration file does not tell me either. Please
name which branch you want to merge on the command line and
try again (e.g. 'git pull <repository> <refspec>').
See git-pull(1) for details on the refspec.
If you often merge with the same branch, you may want to
configure the following variables in your configuration
file:
branch.master.remote = <nickname>
branch.master.merge = <remote-ref>
remote.<nickname>.url = <url>
remote.<nickname>.fetch = <refspec>
See git-config(1) for details.
anita@anita-laptop:~/sandbox/anteaya.github.com$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment