1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
| git init
git clone <仓库URL>
git status
git add .
git commit -m "提交信息"
git log
git branch <分支名> git checkout <分支名>
git checkout -b <分支名>
git merge <分支名>
git push
git reset --hard 5d0da817b9e299ae216514f49264fe7b1f14455a
git push --force
git config user.name "muqi2021"
git config --global http.proxy http://127.0.0.1:7897 git config --global https.proxy http://127.0.0.1:7897
git config --global --unset http.proxy git config --global --unset https.proxy
|