Error: failed to push some refs to '[email protected]' 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 used force switch when I got above error while pushing the code

#git push -f myproject master

myproject is the repository name

 
 
Categories: General

0 Comments

Leave a Reply

Your email address will not be published.