配置git日志默认使用mailmap [英] Configuring git log to use mailmap by default

查看:143
本文介绍了配置git日志默认使用mailmap的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法配置git log默认使用邮件地图文件?而不必指定格式(或一个别名)。

Is there a way to configure git log to use a mailmap file by default? Without having to specify a format (or an alias for one).

推荐答案

我有git 2.4.1。如果你设置log.mailmap配置为true,它会将它设置为与git log一起工作。

I have git 2.4.1. If you set log.mailmap config to true, it will set it to work with git log also

git config --global log.mailmap true

这篇关于配置git日志默认使用mailmap的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆