gpt4 book ai didi

git - SourceTree (Git) 相对日期格式?

转载 作者:太空狗 更新时间:2023-10-29 14:19:22 27 4
gpt4 key购买 nike

Git log 支持使用相对日期

git log --date=relative

获取诸如 * user Desc (11 minutes ago) 96cb501 的输出

如何使 SourceTree 使用这种相对日期格式?

最佳答案

您可以检查 SourceTree 是否尊重本地 git config :

cd /your/repo
git config log.date relative

并查看 SourceTree 是否使用 repo 配置中指定的格式。

如果没有,您需要在 SourceTree for Mac 中输入错误 repo 协议(protocol), 或 SourceTree for Windows .

关于git - SourceTree (Git) 相对日期格式?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23402776/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com