git 命令

Posted maxlon

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了git 命令相关的知识,希望对你有一定的参考价值。

work on the current change (see also: git help everyday)

reset Reset current HEAD to the specified state

examine the history and state (see also: git help revisions)

bisect Use binary search to find the commit that introduced a bug
grep Print lines matching a pattern 
show Show various types of objects
status Show the working tree status

grow, mark and tweak your common history

branch List, create, or delete branches
checkout Switch branches or restore working tree files 
diff Show changes between commits, commit and working tree, etc
merge Join two or more development histories together
rebase Reapply commits on top of another base tip
tag Create, list, delete or verify a tag object signed with GPG

collaborate (see also: git help workflows)
fetch Download objects and refs from another repository
pull Fetch from and integrate with another repository or a local branch
push Update remote refs along with associated objects












以上是关于git 命令的主要内容,如果未能解决你的问题,请参考以下文章

Git命令大全

如何Hook Git命令

Git 工具

git 命令行修改提交地址

git diff 命令详解

git常用命令总结 git常用命令总结