简体   繁体   中英

Mobaxterm Git clone/push terminates without cloning or updating remote repo

I'm using git on Mobaxterm to clone a remote repo from my enterprise bitbucket server. I've been doing this all the time using Portable Mobaxterm V10.5, Default Moba Git Plugin ( Git version 2.1.4) on my Windows 7 PC. However I moved all my moba files ( root and home folders) to a new windows 10 PC. I generated a new pair of keys and updated public key in my account > ssh keys.

Now when I try a git clone , it terminates after saying "Cloning into 'repoName'..." and clones nothing except an empty .git folder (no ref/objects). Doesn't count or write remote objects, there's no error description as well. I used the same keys in git bash and it works fine.

Any help appreciated.

Regards, Abhishek

You first need to check if your ssh key allows you to contact the remote server:

ssh -Tv remoteUSer@remoteServer

Only once that step passes, can you try and clone anything.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM