Git repository initialize
Command line instructions
Git global setup
git config --global user.name "Your Name" git config --global user.email """"
Create a new repository
git clone ssh://xxx.git cd YourProj touch README.md git add README.md git commit -m "add README" git push -u origin master
Existing folder
cd existing_folder git init git remote add origin ssh://xxx.git git add . git commit -m "Initial commit" git push -u origin master
Existing Git repository
cd existing_repo git remote add origin ssh://xxx.git git push -u origin --all git push -u origin --tags
相关推荐
LynnOhYeah 2020-07-18
formula 2020-11-12
huhongfei 2020-11-05
乾坤一碼農 2020-10-27
liumengyanysu 2020-10-22
E哥的aws认证攻略 2020-10-15
tianyafengxin 2020-10-08
guying 2020-10-05
好脑筋不如烂笔头 2020-09-17
nebulali 2020-09-11
佛系程序员J 2020-09-15
fenggit 2020-09-15
JustHaveTry 2020-09-11
兄dei努力赚钱吧 2020-09-06
IngeniousIT 2020-08-25