![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
git/svn
文章平均质量分 70
CocoaJerry
开发
展开
-
git常见操作以及一些操作技巧
git撤销已经push的更改 git reset —hard/soft 版本号 hard撤销本地更改,soft回退版本,但不撤销更改 git push origin 远程分支名 —force git远程分支覆盖本地分支 git fetch —all 下载远程库内容 git reset —hard origin/master 把h原创 2017-01-03 17:52:42 · 394 阅读 · 2 评论 -
windows版git-bash使用命令别名(alias)
我们在输入git命令时,为了方便,可能会给git命令设置一些别名,例如: [alias] co = checkout ci = commit st = status br = branch hist = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bol...原创 2019-04-28 14:41:48 · 2907 阅读 · 0 评论