新Sir

导航

 
Git global setup
git config --global user.name  "xxxxx"
git config --global user.email "xxx@xxx.com"
Create a new repository
git clone https://github.com/datasciencemasters/go.git
cd testdemo1
touch README.md
git add README.md
git commit -m "add README"
git push -u origin master
Existing folder or Git repository
cd existing_folder
git init
git remote add origin https://github.com/datasciencemasters/go.git
git add .
git commit -m "init"
git push
-u origin master

 

posted on 2020-03-25 11:10  新Sir  阅读(125)  评论(0编辑  收藏  举报