美文网首页
Git --help

Git --help

作者: A徐亮波KingA | 来源:发表于2023-05-14 10:24 被阅读0次
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>] (-c | -C) [<old-branch>] <new-branch>
   or: git branch [<options>] [-r | -a] [--points-at]
   or: git branch [<options>] [-r | -a] [--format]

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))
    -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
    --no-contains <commit>
                          print only branches that don't contain the commit
    --abbrev[=<n>]        use <n> digits to display object names

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
    -c, --copy            copy a branch and its reflog
    -C                    copy a branch, even if target exists
    -l, --list            list branch names
    --show-current        show current branch name
    --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
    -i, --ignore-case     sorting and filtering are case insensitive
    --format <format>     format to use for the output

相关文章

  • git 笔记

    查看帮助 git help git --help 初始...

  • git常用命令

    git 常用命令 git help 帮助 git help checkout vm...

  • git简单使用命令集合

    查询类 git help (git --help) 查询所有命令列表 git help -a 展示所有命令列表 g...

  • Git: 版本控制(1)

    git help git 显示常用命令,简短解释git -a 或 git help -g 显示git手册git a...

  • git基础操作指令

    【git操作指令】 git help # 显示command的help git show # 显示某次提交的内容...

  • git的简单命令

    git help # 显示command的help git show # 显示某次提交的内容 git show...

  • git 使用

    ---恢复内容开始--- 1.学习 git 命令 $ git help //查看帮助 $ git help ini...

  • iOS学习 git的操作与使用

    01. GIT简介 02. GIT命令行帮助 $ git help查看git所有命令的帮助 $ git help ...

  • git使用指南

    常用命令 帮助类: git --help:显示git命令帮助信息git help -a:显示所有命令git hel...

  • Git基本命令

    了解帮助命令git help : 查看命令git help add :查看git add 命令的具体解释 仓库初始...

网友评论

      本文标题:Git --help

      本文链接:https://www.haomeiwen.com/subject/pecpsdtx.html