I tried to push code for the first time to the repository but its coming this error
**! [rejected] master-> master (non -fast - forward)**
Is it because of git version or my installation issue?
Can any one tell me how to resolve this?
I tried to push code for the first time to the repository but its coming this error
**! [rejected] master-> master (non -fast - forward)**
Is it because of git version or my installation issue?
Can any one tell me how to resolve this?
It should not give this error if your branch is up to date with the remote master. Anyways, if you are very sure that nobody else is working on this repo/branch push your changes forcefully using below command
git push origin <my-feature-branch> -f