When I first start a repository I can commit and push the changes, then my friend pushed his files and after that I cannot push. I commit the new changes and when I press push stacks there forever. I tried version 2.7.6 and I also uninstall SourceTree and tried 2.6.3 for Mac OS. I am using HTTPS format and not SSH. Can you help me?
PS: Please if you know the answer, be specific with a lot of details because I am a noob.
Thanks in advance
Can you try a git push from terminal and see what happens with that?
If you see any errors in the log, please post them here for us to review and help?
Alternately, you can also navigate to Preferences window in Sourcetree -> Advanced tab and enable Always display full console output and you will see what Sourcetree is running behind the scenes when you perform a push and any logs there would be very helpful in diagnosing the issue you are seeing.
Sourcetree Mac Developer
I can push through Terminal without any problem. I use commit in sourcetree and then just use : "git push" in terminal and pushes the code.
The thing is that it stucks for ever in pushing through source tree with that in console:
git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree push -v --tags origin refs/heads/master:refs/heads/master
Pushing to https://github.com/.....
and when I press cancel it shows this:
Completed with errors, see above
Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events