随笔分类 -  git

摘要:$ git checkout -b cibn-cache-clean Switched to a new branch 'cibn-cache-clean' $ git cherry-pick 9b78e3f6e70cf8ad9bd85b90e36819ea6a77ed32 [cibn-cache-clean bd0c3d2] Add subject cache clear link ... 阅读全文
posted @ 2017-01-14 17:56 冰凌花花~ 阅读(185) 评论(0) 推荐(0)
摘要:修改git最后一次提交的命令 修改git最后一次提交用户名的相关命令 修改最后一次提交内容的相关文档 阅读全文
posted @ 2017-01-07 17:11 冰凌花花~ 阅读(814) 评论(0) 推荐(0)
摘要:$ ssh -v wangz@gitlab.alibaxx-inc.com $ git remote ali set-url git@gitlab.alibaxx-inc.com:youk-aaa/xxx.git 阅读全文
posted @ 2016-12-06 15:39 冰凌花花~ 阅读(296) 评论(0) 推荐(0)
摘要:任何时候,你都有可能需要撤消刚才所做的某些操作。接下来,我们会介绍一些基本的撤消操作相关的命令。请注意,有些撤销操作是不可逆的,所以请务必谨慎小心,一旦失误,就有可能丢失部分工作成果。 有时候我们提交完了才发现漏掉了几个文件没有加,或者提交信息写错了。想要撤消刚才的提交操作,可以使用 --amend 阅读全文
posted @ 2016-08-25 14:09 冰凌花花~ 阅读(376) 评论(0) 推荐(0)
摘要:$ git reset --hard bit/add $ git log --oneline --graph 阅读全文
posted @ 2016-03-31 11:27 冰凌花花~ 阅读(433) 评论(0) 推荐(0)
摘要:249 git reset --hard bit/master 250 git pull 251 git branch --set-upstream-to=bit/master 252 git pull 阅读全文
posted @ 2016-02-03 17:42 冰凌花花~ 阅读(131) 评论(0) 推荐(0)
摘要:找到文件的所有修改者git blame [file_name] 阅读全文
posted @ 2014-08-27 16:41 冰凌花花~ 阅读(105) 评论(0) 推荐(0)