You ran git push and got an output like this:
To git@git.assembla.com:shabbir-s-test.git
! [rejected] your-branch -> your-branch (non-fast-forward)
This means that someone else pushed a commit to the same branch you're pushing to, but you don't have that commit on your laptop yet. This can happen if it has been awhile since you ran "git pull" on a branch that many people contribute to, such as staging.
To fix this issue, run:
- git pull origin <your-branch>
- git push origin <your-branch>
Comments
0 comments
Article is closed for comments.