为了账号安全,请及时绑定邮箱和手机立即绑定

git命令,这个坑

git命令,这个坑

lemon_0001 2016-09-24 14:07:44
学前端自动化早晚要学grunt>然后学到了yeoman还要配合着bower学>然后发现还要学npm>学了发现关联还要学git,因为要用github,学git过程中发现最好是要会vim,算了后面还有一堆nodejs的东西要学,踩不完的坑啊今天问一个一直的疑问,下面这个git里提示的用法时具体怎么看,[],<>,|,--这些参数改怎么用usage: git branch [<options>] [-r | -a] [--merged | --no-merged]    or: git branch [<options>] [-l] [-f] <branch-name> [<start-point>]    or: git branch [<options>] [-r] (-d | -D) <branch-name>...    or: git branch [<options>] (-m | -M) [<old-branch>] <new-branch>    or: git branch [<options>] [-r | -a] [--points-at] Generic options     -v, --verbose         show hash and subject, give twice for upstream branch     -q, --quiet           suppress informational messages     -t, --track           set up tracking mode (see git-pull(1))     --set-upstream        change upstream info     -u, --set-upstream-to <upstream>                           change the upstream info     --unset-upstream      Unset the upstream info     --color[=<when>]      use colored output     -r, --remotes         act on remote-tracking branches     --contains <commit>   print only branches that contain the commit     --abbrev[=<n>]        use <n> digits to display SHA-1s Specific git-branch actions:     -a, --all             list both remote-tracking and local branches     -d, --delete          delete fully merged branch     -D                    delete branch (even if not merged)     -m, --move            move/rename a branch and its reflog     -M                    move/rename a branch, even if target exists     --list                list branch names     -l, --create-reflog   create the branch's reflog     --edit-description    edit the description for the branch     -f, --force           force creation, move/rename, deletion     --merged <commit>     print only branches that are merged     --no-merged <commit>  print only branches that are not merged     --column[=<style>]    list branches in columns     --sort <key>          field name to sort on     --points-at <object>  print only branches of the object
查看完整描述

1 回答

  • 1 回答
  • 2 关注
  • 2835 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信