Loading... ##一、 Git 命令速查表  | 命令 | 简要说明 | | ------------ | ------------ | | git add | 添加至暂存区 | | git add–interactive |交互式添加 | | git apply |应用补丁 | | git am |应用邮件格式补丁 | | git annotate |同义词,等同于 git blame | | git archive |文件归档打包 | | git bisect |二分查找 | | git blame |文件逐行追溯 | | git branch |分支管理 | | git cat-file |版本库对象研究工具 | | git checkout |检出到工作区、切换或创建分支 | | git cherry-pick |提交拣选 | | git citool |图形化提交,相当于 git gui 命令 | | git clean |清除工作区未跟踪文件 | | git clone | 克隆版本库 | | git commit |提交 | | git config |查询和修改配置 | | git describe |通过里程碑直观地显示提交ID | | git diff |差异比较 | | git difftool |调用图形化差异比较工具 | | git fetch |获取远程版本库的提交 | | git format-patch |创建邮件格式的补丁文件。参见 git am 命令 | | git grep | 文件内容搜索定位工具 | | git gui |基于Tcl/Tk的图形化工具,侧重提交等操作 | | git help |帮助 | | git init | 版本库初始化 | | git init-db`*` |同义词,等同于 git init | | git log | 显示提交日志 | | git merge | 分支合并 | | git mergetool | 图形化冲突解决 | | git mv |重命名 | | git pull |拉回远程版本库的提交 | | git push | 推送至远程版本库 | | git rebase | 分支变基 | | git rebase–interactive | 交互式分支变基 | | git reflog | 分支等引用变更记录管理 | | git remote | 远程版本库管理 | | git repo-config`*` |同义词,等同于 git config | | git reset |重置改变分支“游标”指向 | | git rev-parse |将各种引用表示法转换为哈希值等| | git revert | 反转提交 | | git rm | 删除文件 | | git show | 显示各种类型的对象 | | git stage`*` |同义词,等同于 git add | | git stash | 保存和恢复进度 | | git status | 显示工作区文件状态 | | git tag | 里程碑管理 | <hr class="content-copyright" style="margin-top:50px" /><blockquote class="content-copyright" style="font-style:normal"><p class="content-copyright">版权属于:XSY</p><p class="content-copyright">本文链接:<a class="content-copyright" href="https://xsy.fun/archives/51/">https://xsy.fun/archives/51/</a></p><p class="content-copyright">转载时须注明出处及本声明</p></blockquote> Last modification:May 10th, 2018 at 07:16 pm © 允许规范转载 Support If you think my article is useful to you, please feel free to appreciate ×Close Appreciate the author Sweeping payments Pay by AliPay Pay by WeChat
2 comments
很好。。。。然而几乎不会用到。。。。
叫我大水逼~