git

 


git --version
touch index.html
git init
git config --global user.name 'sam_wang'
git config --global user.email 'sam_wang10@foxmail.com'

git add index.html
git add *.html
git add .

git rm --cached index.html

git status

git commit  -m 'change comment'

 

git branch mybranch
git checkout mybranch
git merge mybranch


git remote add origin https://github.com/.....git
git push -u origin master

 

https://www.youtube.com/watch?v=SWYqp7iY_Tc

posted @ 2021-01-30 00:12  sam_wang10  阅读(22)  评论(0编辑  收藏  举报