Skip to content

Instantly share code, notes, and snippets.

@budak7273
Created November 29, 2018 16:57
Show Gist options
  • Save budak7273/11263d4a88483189532e38d4d1d8947c to your computer and use it in GitHub Desktop.
Save budak7273/11263d4a88483189532e38d4d1d8947c to your computer and use it in GitHub Desktop.
Example push error when changes have been made
Pushing to https://github.com/MobileAppsMRHP/spacecolony.git
To https://github.com/MobileAppsMRHP/spacecolony.git
! [rejected] master -> master (fetch first)
error: failed to push some refs to 'https://github.com/MobileAppsMRHP/spacecolony.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.
Completed with errors, see above.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment