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

git URL not a remote repo

thomas_beiganz June 5, 2013

Hello all,

I am new to SourceTree for Windows so forgive me if this is has already been answered.

When I add the URL from Gitlab

(git@srvweldat02:tbeiganz/test_repo.git)

to the Repository and try to push I get the following error

git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags --set-upstream origin master:master
Pushing to git@srvweldat02:tbeiganz/test_repo.git

fatal: 'tbeiganz/test_repo.git' does not appear to be a git repository
fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. Completed with errors, see above.

Using the GIT Shell (Git Version 1.8.0-preview20121022) it works.

Also: Using the HTTP Url in SourceTree works.

Thanks for your help

1 answer

1 accepted

0 votes
Answer accepted
stevestreeting
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 5, 2013

Hmm, SourceTree just calls git so it shouldn't behave any differenly to the Git shell, unless it's something to do with using PuTTY instead of OpenSSH. The Git Shell usually defaults to OpenSSH (which is to say, it uses your key from %USERPROFILE%\.ssh\id_rsa etc). You can tell SourceTree to use that too if you'd prefer, you do this in Preferences > SSH Client.

thomas_beiganz June 11, 2013

Hello,

yes thanks, I changed the Agent to OpenSSH and now it works fine.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events