美文网首页
git 常用命令

git 常用命令

作者: 啊深是阿深啊 | 来源:发表于2020-07-29 09:42 被阅读0次

Git 常用命令

查看所有分支

git branch -a 

强制删除分支

git branch -D <Your Branch Name>

刷新远端分支

git remote update origin --prune

git clone 携带用户名密码

git clone https://iamshen:password@remote

撤销本地commit

先查看当前分支

git reset HEAD~ 

相关文章

网友评论

      本文标题:git 常用命令

      本文链接:https://www.haomeiwen.com/subject/buzcrktx.html