开始Git之旅

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/sdutphp/article/details/79422272

一、Git教程,推荐廖雪峰编写的:

https://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000

二、下载客户端(Git-2.16.1.2-64-bit.exe)软件,生成ssh公钥

ssh-keygen -t rsa -C "你的邮箱地址"

将生成的 id_rsa.pub 公钥文件发给管理员

三、GitHubDesktopSetup.exe,GitHub桌面版也是很好用的


常见问题

一、GitHub执行git clone时,出现如下错误:The destination already exists

git init

git remote add origin [email protected]:/mnt/php/dingding.git

git fetch

git branch master origin/master

git checkout master

猜你喜欢

转载自blog.csdn.net/sdutphp/article/details/79422272