【发布时间】:2020-08-28 14:16:23
【问题描述】:
我在 命令行 中使用 mercurial,我想知道 git lol 和 git lola 是否等效?
分别是:
lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all --date=local
我尝试用 hg log 查找一些信息,但没有任何成功...
编辑:它会是这样的:
hg log -G -T "{node|short} - ({branch}) {desc|strip|firstline}"
【问题讨论】:
-
你能定义“git lol”和“git lola”(它们不是 git 本身的一部分)吗?
-
是的,对不起。我编辑了我的问题。
-
谢谢,好多了。
-
顺便说一句,
--pretty=oneline --abbrev-commit==--oneline -
哦...是的,你是对的! ^^'