Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Unable to push or pull to github using sourcetree

JL I'm New Here Jun 11, 2022

Whenever I click on the icon to pull/push to my git remote repo using sourcetree, I get stuck at the loading process. When I click on the "Show Full Output" tab, I see this message being printed out:

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --tags origin <branch_name>:<branch_name>
Pushing to <repo_ssh_url>
The server's host key is not cached. You have no guarantee
that the server is the computer you think it is.
The server's <remote_repo_ssh_id> key fingerprint is:
If you trust this host, enter "y" to add the key to

Any idea how I can bypass this, or do I always have to open the terminal and enter the git commands in order to enter 'yes'?

Just to clarify, I'm using a windows machine to run sourcetree and am connecting to github enterprise via ssh. 

0 answers

Suggest an answer

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

Bug Fix: Sourcetree for Windows authentication error when updating to app password

Hello Sourcetree users!!! With the recent removal of Bitbucket Cloud account passwords for app passwords (please see our Bitbucket Cloud community post for details on why we made this change for se...

61,647 views 127 27
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