Created
January 19, 2019 10:09
-
-
Save sharbel93/ebcf0b18782573f4d95f80caa3c84acb to your computer and use it in GitHub Desktop.
How to solve this problem of "! [rejected] master -> master (fetch first)"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
First Do this ... | |
git fetch origin master | |
git merge master | |
Then, do this ... | |
git fetch origin master:tmp | |
git rebase tmp | |
git push origin HEAD:master | |
git branch -D tmp | |
Now everything works well. |
Thank you bro💯💯💯!
this is working only for the first time sir.. again if i made any changes and push, again this error appearing.
any permanent fix for this please ?
thank you so much it helped me a lot.
thank you so much it worked well !!
Thank you very much!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you!