Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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
4,552,206
Community Members
 
Community Events
184
Community Groups

Cannot fetch, push or pull on Sourcetree for Windows

Edited

My team switched to a Enterprise github account. It uses SSH for all repos.

I can no longer fetch, push or pull from SourceTree. When I try to do any of those actions, I get a spinner that never stops, and in the log I see this message:

"git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks fetch origin
The server's host key is not cached in the registry. You
have no guarantee that the server is the computer you
think it is.
The server's ecdsa-sha2-nistp256 key fingerprint is:
ecdsa-sha2-nistp256 256 8c:1a:fc:b8:13:67:2b:a7:6e:ce:ed:e7:db:a8:b9:6b
If you trust this host, enter "y" to add the key to"

I can switch branches in ST. I have the correct ssh keys tied to my account in the enterprise github.

I cloned all repos using command line, and can do everything fine in command line.

I have tried:

1. switching from System Git to Embedded Git

2. updating to the latest version of Windows Git

Any other ideas?

1 answer

1 accepted

0 votes
Answer accepted

The solution was to run plink.exe from the command line, from this post:

https://stackoverflow.com/questions/32437659/cannot-pull-git-remote-repository-from-sourcetree/32831317#32831317

I was able to find plink here:

C:\Users\xyz\AppData\Local\SourceTree\app-3.0.17\tools\putty

I tried running it with command line parameters, and while the command line returned an error, a modal popup came up asking for my username and password, which when I entered my github username and private key passphrase, everything started working.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events