最佳答案
我有一个 Git 别名,可以扩展为:
git log --graph --oneline --all --decorate
根据 man git log
的说法,有两个可疑的选项: --not
和 --branches
; 但是我不能让它正常工作。
我该怎么编辑这个来隐藏藏起来的东西呢?
供参考: 根据 接受的问题和 评论,我的 .gitconfig
别名现在看起来是这样的:
[alias]
l = log --branches --remotes --tags --graph --oneline --decorate --notes HEAD