Github “Updates wer...
 
Notifications
Clear all

Github “Updates were rejected because the remote contains work that you do not have” error  

  RSS

amrit_3327
(@amrit_3327)
Eminent Member
Joined: 6 months ago
Posts: 32
05/05/2020 8:29 pm  

Trying to do git push using new origin


Quote
amrit_3327
(@amrit_3327)
Eminent Member
Joined: 6 months ago
Posts: 32
05/05/2020 8:30 pm  

Try to do git pull and do git push again.

 

If you are insured about the changes use following command. This is risky to take backup before hand.

git push -f origin master

ReplyQuote
Share: