git命令

生成公钥 ssh-keygen.exe -C "limakilo@2020@163.com"
查看公钥 cat ~/.ssh/id_rsa.pub
git小乌龟设置 ssh.exe命令
git查看提交记录 git reflog
git回退到某个版本 git reset --hard 8500b51
git强制覆盖远程仓库master分支 git push -f origin master
git配置用户名  git config --global user.name  myname
git配置邮箱  git config --global user.email  myemail
posted @ 2021-06-16 19:51  贾正直  阅读(37)  评论(0)    收藏  举报