Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Deleted user August 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
Atlassian Team members are employees working across the company in a wide variety of roles.
August 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. 

Thanks,
Manjunath
Sourcetree Mac Developer

Deleted user August 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 https://github.com/.....

and when I press cancel it shows this:

Completed with errors, see above 

 

Nothing more.

Manju
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 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 August 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
TAGS
AUG Leaders

Atlassian Community Events