本文共 1090 字,大约阅读时间需要 3 分钟。
???????????
git config --global user.name "test"git config --global user.email "test@test.com"
??????????
git status
???????
git branch
???????
git branch -r
???????
git branch -a
??????????
git checkout -b dev origin/master
??????????
git add index.php
????????????
git add -A
?????????
git rm --cached index.php
???????????
git commit -am "new"
????????????
git pull origin master
????????????
git merge dev
?????????????
git push origin master
???????
git tag
???????
git tag -a v0.0.1 -m "version 0.0.1"
???????
git push origin --tag
???????
git tag -d v20200101
?????????
git:remote: HTTP Basic: Access denied fatal: Authentication failed
???????????????????????????????
git config --system --unset credential.helper
???????????????
git config --global credential.helper store
??????????????????????
??SSH???
ssh-keygen -t rsa -C "test@test.com"
????????id_rsa
?????id_rsa.pub
???????????????
C:\Users\Administrator.ssh?C:\Users\user.ssh
??????Git?????? SSH ?????????????????
转载地址:http://mxdp.baihongyu.com/