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.
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/
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.
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
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
A concise guide to GIT: http://blog.lxx1.com/category/coding/git
Take it, thank you~
The clone interface is uploaded. In fact, the most important thing is the clone address and password, as well as your own git key
Add basic knowledge first
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.
The clone address is not the repo address
At least it must end with .git
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/
Pro Git You’re welcome
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.
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
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: