0

I receive the error: Updates were rejected because the tip of your current branch is behind its remote counterpart. Integrate the remote changes before pushing again.

I am new to this whole process and I'm unsure of what I have to do to push code to the repository. Thank you for any help you can provide.

Abraham Luna
  • 110
  • 2
  • 12
  • Does this answer your question? [Updates were rejected because the tip of your current branch is behind its remote counterpart](https://stackoverflow.com/questions/39399804/updates-were-rejected-because-the-tip-of-your-current-branch-is-behind-its-remot) – 404 Nov 11 '20 at 14:41
  • check this link by @404 above it may help. – Msvstl Nov 11 '20 at 14:56

2 Answers2

0

Pull the changes and try again. Because new changes have been already made by someone in the repo.

use this link for more information fix-git-failed-to-push-updates-were-rejected

Msvstl
  • 1,116
  • 5
  • 21
0

I had to create a branch and then push to that branch instead of the master. Thank you all for your suggestions.

Abraham Luna
  • 110
  • 2
  • 12