git config --global user.name kkk
git config --global user.email ppp@126.com
git init --bare sample.git
touch file1
git status
git status -s
git add file1
git commit -m “add file or change file1”
git checkout – file1
git reset --hard HEAD
git clone xx@192.168.0.xx:~/xx/yy/zz.git
git pull origin master
git push origin master
参考
https://www.cnblogs.com/herry52/p/5976233.html
git入门
于 2022-04-03 10:03:18 首次发布