Created
June 20, 2019 17:41
-
-
Save rajucs/d0c060d17b0248dcbd4f559a9f420a12 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
! [rejected] master -> master (fetch first) | |
error: failed to push some refs to 'https://[email protected]/username/repository-name.git' | |
hint: Updates were rejected because the remote contains work that you do | |
hint: not have locally. This is usually caused by another repository pushing | |
hint: to the same ref. You may want to first integrate the remote changes | |
hint: (e.g., 'git pull ...') before pushing again. | |
hint: See the 'Note about fast-forwards' in 'git push --help' for details. | |
To fix this error try this command- | |
git push origin master --force | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment