-1

Possible Duplicate:
Git Fast-Forward Merge requires a pull first

     Pushing to git@github.com:ravi-saxena/locpla.git

Error :

To git@github.com:ravi-saxena/locpla.git
! [rejected]        master -> master (non-fast-forward)
error: failed to push some refs to 'git@github.com:ravi-saxena/locpla.git'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Merge the remote changes (e.g. 'git pull')
hint: before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.

I am getting this error while pushing the new repository that i recently created..

Community
  • 1
  • 1

1 Answers1

0

first make a git pull and after that make a git push

Akhilraj N S
  • 9,049
  • 5
  • 36
  • 42