Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can't push commit to Github, stack on pushing (Mac OS)

Deleted user Aug 24, 2018

Hello everyone,

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

1 answer

0 votes
Manju Atlassian Team Aug 27, 2018

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

Deleted user Aug 28, 2018

Hello Manjunath,

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

and when I press cancel it shows this:

Completed with errors, see above 


Nothing more.

Manju Atlassian Team Aug 28, 2018

Couple of follow up questions,
1. Have you added your GitHub account in Sourcetree?
2. If yes, what is the config? ssh vs https, basic auth vs OAuth?

Can you include some screenshots of the account setup in here?

Deleted user Aug 29, 2018

Here is the screenshot of the account settingsScreen Shot 2018-08-29 at 11.10.57.png

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

7,200 views 5 14
Read article

Community Events

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

Events near you