I am working on a branch called sofian/issue_533. I simply want to add the changes to the branch on git and somehow I can't.
Here is a picture of what git is showing ...
Thanks for the help !
I am working on a branch called sofian/issue_533. I simply want to add the changes to the branch on git and somehow I can't.
Here is a picture of what git is showing ...
Thanks for the help !
You need to pull from the remote source first, your local branch is not up-to-date. Look in the logs, git tries to hint at it.
And also, beware of git push
without any parameters, depending on your config, it might try to push all your local branches to their remote counterparts, which can be very unwanted. git push origin HEAD
is safer.