我现在开发项目,之前是用svn现在想用git
在linux服务器上已经安装了git
在windows安装了客户端TortoiseGit工具
我想把线上代码clone到线下,一直是
出现这错误
也是第一次用,很多功能都不熟悉,请高手指教下。
淡淡烟草味2017-05-02 09:20:51
A concise guide to GIT: http://blog.lxx1.com/category/coding/git
Take it, thank you~
滿天的星座2017-05-02 09:20:51
The clone interface is uploaded. In fact, the most important thing is the clone address and password, as well as your own git key
某草草2017-05-02 09:20:51
Owner, I have encountered the same problem as you before. The TortoiseGit tool reported errors for no reason. Later I found out that the client itself has many bugs. I did not encounter any errors when using the command line. It is recommended to use the command line.
天蓬老师2017-05-02 09:20:51
The clone address is not the repo address
At least it must end with .git
PHP中文网2017-05-02 09:20:51
It’s OK to take some time to read Liao Xuefeng’s tutorial. There must be differences in using different tools. Your idea is wrong. Here is the address,
http://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000/
phpcn_u15822017-05-02 09:20:51
Why should Git be used like SVN?
Since using Git for the first time, it has changed my view on repositories.
It is recommended that the author first add knowledge about using Git, and then delete this question.
曾经蜡笔没有小新2017-05-02 09:20:51
It is most convenient to use the command line. You can use the git svn command, which means using svn just like using git. Attachment: http://chengshiwen.com/article/head-first-git/#git-svn
習慣沉默2017-05-02 09:20:51
If you use Git, the best way to use it is the command line, and it is recommended to use the command line. But for your question, when cloning the version, you should provide the address of a repository. It is very likely that you provided an incorrect git repository address. If you use the command line, you can see the log file, which is very convenient for checking errors. The clone code is as follows:
$ cd workplace
$ git clone http://github.com/username/projectname