Advertisement
lamiastella

$ git push fails

Jun 30th, 2021
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. ! [rejected] master -> master (fetch first)
  2. error: failed to push some refs to 'https://github.com/XYZ'
  3. hint: Updates were rejected because the remote contains work that you do
  4. hint: not have locally. This is usually caused by another repository pushing
  5. hint: to the same ref. You may want to first merge the remote changes (e.g.,
  6. hint: 'git pull') before pushing again.
  7. hint: See the 'Note about fast-forwards' in 'git push --help' for details.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement