smartgit Push: Not all refs have been pushed

quartaela picture quartaela · Jan 27, 2014 · Viewed 11.7k times · Source

I have started to learn Git for a week,and I'm facing with a problem at work. The thing is I have made some changes while I was in develop branch and after I finish my work I tried to commit and push,however, I could not get rid of last error. Here you can see s screenshot of the smartgit and logs.

enter image description here

also you can see the log file here;

enter image description here

Answer

Vlad Nikitin picture Vlad Nikitin · Jan 27, 2014

just make

git checkout develop
git pull
git push

you have this error because there are some new commits in the remote develop branch which you do not have in your local develop branch , this changes has to be fetch first