git gui:如何克隆和推送?
我觉得我很蠢。我不明白 Git 如何使用命令行,所以我使用 Git Gui。
我安装了它并且 Gui 可以成功启动,但是当我从另一个程序员与我共享的文件中克隆文件时,我不断收到此错误消息,
位置 C:/.... 已经存在。
在 Gui 界面上,它只有两个输入字段需要填写 -
'Source Location' : https://[email protected]/remote-programmer/project-1.git (for instance)
'Target Directory' : C:/wamp/www/project-1-folder (for instance)
有任何可用的视觉指南可以避免使用命令行吗?
谢谢!
I think I am stupid. I don't understand how Git works with the command lines so I am using Git Gui.
I got it install and the Gui can be launched successfully, but when I come to clone the file from the files which is shared by another programmer with me, I keep getting this error message,
Location C:/.... already exists.
on the Gui interface, it has two input fields to fill in only -
'Source Location' : https://[email protected]/remote-programmer/project-1.git (for instance)
'Target Directory' : C:/wamp/www/project-1-folder (for instance)
any visual guides available that I can avoid the command lines?
thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您需要克隆到一个新目录,即您指定的“目标目录”不应该已经存在。
You need to clone into a new directory, that is, that "Target Directory" that you specify should not already exist.
“源位置”:https:// [email protected]/remote-programmer/project-1.git(例如)
不要浏览目标目录。手动写入完整路径和新文件夹名称。
“目标目录”:C:/wamp/www/project-1-folder
'Source Location' : https://[email protected]/remote-programmer/project-1.git (for instance)
Don't browse the target directory .write full path and new folder name manually.
'Target Directory' : C:/wamp/www/project-1-folder
对于以下情况,只需删除目标目录中的
C:/
:目标目录应该是这样的:
For the following case, just remove the
C:/
in the target directory:The target directory should be like this: