git撤消commit
摘要:git reset --soft HEAD^
阅读全文
posted @
2020-07-24 12:15
入梦炼心
阅读(103)
推荐(0)
git回退到某个历史版本
摘要:1.获取某个历史版本号 2.回退到一个历史版本 git reset --hard 历史版本号 3.推送到远程 git push -f -u origin master
阅读全文
posted @
2020-03-16 16:16
入梦炼心
阅读(264)
推荐(0)
Git命令
摘要:1.自动保存用户名和密码配置 git config --global credential.helper store 2.配置用户名和邮箱 git config --global user.name "用户名" git config --global user.email "邮箱" 3.远程获取项目
阅读全文
posted @
2020-02-20 11:42
入梦炼心
阅读(112)
推荐(0)