【问题标题】:Is there a way to view your a mapping of your git branches? [duplicate]有没有办法查看你的 git 分支的映射? [复制]
【发布时间】:2012-03-01 04:28:02
【问题描述】:

可能重复:
Visualizing branch topology in git

我正在创建一个 git 存储库,并且正在创建几个分支。有没有办法映射我创建的分支?

例如:

Master
    -Development
        -Feature1
        -Feature 2
    -Hotfix
        -Bug 1

【问题讨论】:

    标签: git


    【解决方案1】:

    您可以尝试使用 gitk 或其他程序。我喜欢

    git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative

    【讨论】:

      猜你喜欢
      • 2018-10-24
      • 2014-08-14
      • 1970-01-01
      • 2016-11-18
      • 1970-01-01
      • 2011-02-13
      • 1970-01-01
      • 2017-03-18
      • 2020-04-06
      相关资源
      最近更新 更多