Git介紹及注冊
git介紹
git(https://github.com/)? 是分布式版本控制技術(shù)
SVN是集中式管理版本控制技術(shù)
代碼托管平臺(tái):github,碼云褐鸥,gitlab等
第一步? 注冊github及創(chuàng)建倉庫
第二步 生成公鑰和密鑰
命令: ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
執(zhí)行完上述代碼會(huì)在C:\Users\Dell.ssh生成兩個(gè)文件
第三步本地添加郵箱和用戶名
? git config --global user.email "you@example.com"
? git config --global user.name "Your Name"
第四步 克隆倉庫
git clone 倉庫地址
例如:git clone? git@github.com:liyu888666/testpro.git
ssh:?? git@github.com:liyu888666/testpro.git
https:? https://github.com/liyu888666/testpro.git
作者:奇妙雨
鏈接:http://www.reibang.com/p/8e46ca91bffd
來源:簡書
著作權(quán)歸作者所有锌畸。商業(yè)轉(zhuǎn)載請聯(lián)系作者獲得授權(quán)脐供,非商業(yè)轉(zhuǎn)載請注明出處初厚。