git新手学习的命令

来源:互联网 发布:java 执行字符串代码 编辑:程序博客网 时间:2024/05/17 05:19
git命令

   add        Add file contents to the index
添加到索引文件的内容
   bisect     Find by binary search the change that introduced a bug
通过二进制搜索的变化,介绍了错误发现
   branch     List, create, or delete branches
分支表,创建,或删除分支
   checkout   Checkout a branch or paths to the working tree
收银台结账的一个分支或路径工作树
   clone      Clone a repository into a new directory
克隆克隆一个仓库到一个新目录
   commit     Record changes to the repository
提交记录更改库
   diff       Show changes between commits, commit and working tree, etc
差异显示的变化之间的承诺,承诺和工作树,等
   fetch      Download objects and refs from another repository
从另一个库获取下载对象和参考文献
   grep       Print lines matching a pattern grep
 打印线匹配的模式
   init       Create an empty git repository or reinitialize an existing one
初始化创建一个空的Git仓库或重新初始化一个现存的
   log        Show commit logs  
日志显示的提交日志
   merge      Join two or more development histories together  
合并联接两个或两个以上的发展历史在一起
   mv         Move or rename a file, a directory, or a symlink  
移动或重命名一个文件,一个目录,或一个符号链接
   pull       Fetch from and merge with another repository or a local branch  
拉到与另一个库或本地分支合并
   push       Update remote refs along with associated objects  
将更新远程文献以及相关的对象
   rebase     Forward-port local commits to the updated upstream head
垫底了港口当地致力于更新的上游头
   reset      Reset current HEAD to the specified state  
还原到指定的状态(原始状态)
   rm         Remove files from the working tree and from the index  
删除文件从工作树从指数
    1.-r  Allow recursive removal when a leading directory name is given
    允许递归去除当领先的目录的名字
    2.cached(缓存)Use this option to unstage and remove paths only from the index.
           Working tree files, whether modified or not, will be left alone.
    使用此选项unstage和删除路径只能从指数。工作树文件,是否修改或不,将独自。
   show       Show various types of objects   
显示各种类型的对象
   status     Show the working tree status  
状态显示工作树状态
   tag        Create, list, delete or verify a tag object signed with GPG   
标签列表,创建,删除或验证标签对象签订的GPG






['JavaEmbeddedFrame', 'Wine', 'Update-notifier']
0 0