简体   繁体   English

如何在Windows中将我的Android Eclipse项目添加到朋友的Git存储库中?

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

I think I need to use Git clone? 我想我需要使用Git克隆吗?

His repository address is gitosis@XX.XX.XXX.XXX:repoName.git 他的存储库地址为gitosis@XX.XX.XXX.XXX:repoName.git

I would like to do this outside of Eclipse. 我想在Eclipse之外执行此操作。 (ie. no plugins) (即没有插件)

Pretend the path to my project is C://user/krb/project/.. 假设我的项目路径为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. 我想要一个允许我像在Linux上一样使用命令行的应用程序。

Any help would be GREATLY appreciated!!! 任何帮助将不胜感激!!!

Thanks Guys! 多谢你们!

TortoiseGIT可能对您有用

I used msysgit to install Git and bash cmd line. 我使用msysgit安装Git和bash cmd行。

I used Bash Git that was installed with mysysgit to change my directory to where I wanted the repository. 我使用与mysysgit一起安装的Bash Git将目录更改为需要存储库的位置。

I then used the command git clone gitosis@XX.XX.XXX.XXX:repoName.git to clone buddies repo. 然后,我使用命令git clone gitosis@XX.XX.XXX.XXX:repoName.git克隆伙伴回购。

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. 旁注: -我用puttygen生成了一个可以选美的密钥,然后将该密钥发送给我的朋友,让他允许我使用该密钥。 Additionally, when installing msysgit on Windows don't install in the program files directory or you won't have permission to do anything. 此外,在Windows上安装msysgit时,请勿安装在程序文件目录中,否则您将无权执行任何操作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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