简体   繁体   中英

How to add my Android Eclipse project to my friend's Git repository in Windows?

I think I need to use Git clone?

His repository address is gitosis@XX.XX.XXX.XXX:repoName.git

I would like to do this outside of Eclipse. (ie. no plugins)

Pretend the path to my project is C://user/krb/project/..

Can I get a detailed answer on how to do this? I would like an application that allows me to use the command line as if I was on Linux.

Any help would be GREATLY appreciated!!!

Thanks Guys!

TortoiseGIT可能对您有用

I used msysgit to install Git and bash cmd line.

I used Bash Git that was installed with mysysgit to change my directory to where I wanted the repository.

I then used the command git clone gitosis@XX.XX.XXX.XXX:repoName.git to clone buddies repo.

side notes: - I used puttygen to generate a key to open with pageant and then sent that key to my friend for him to allow my key. Additionally, when installing msysgit on Windows don't install in the program files directory or you won't have permission to do 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