我有这个设置在我的.gitconfig:
[format]
pretty = oneline
这很好地格式化了我的git-log. 然而,它也改变了git-show(and git-status) 的输出,这让我很恼火,因为当我使用 时git-show,我通常希望看到比使用时更详细的输出git-log。
基本上我希望默认pretty设置git-show不同于pretty. git-log这可能吗?
我有这个设置在我的.gitconfig:
[format]
pretty = oneline
这很好地格式化了我的git-log. 然而,它也改变了git-show(and git-status) 的输出,这让我很恼火,因为当我使用 时git-show,我通常希望看到比使用时更详细的输出git-log。
基本上我希望默认pretty设置git-show不同于pretty. git-log这可能吗?