问题描述
在新安装中,我忘记在我的hg客户端中合理设置用户名.结果,最近的几次提交将我列为"Billy
",而不是像我一直在使用的"Billy O'Neal <[email protected]>
"一样.
On a new install, I forgot to set my username reasonably in my hg client. As a result, the last few commits have me listed as "Billy
", rather than the "Billy O'Neal <[email protected]>
" like I have been using.
有没有一种方法可以更改它们以使其一致?
Is there a way I can change these to make them consistent?
推荐答案
可以使用扩展名(例如 mq 和转换,但是如果您推送了提交,则可以同时编辑存储库的每个克隆.如果您是一小群用户,则可以,但是为时已晚.
It is possible to edit history with extensions like mq and convert, but if you have pushed the commits, you'd have to edit every clone of your repository as well. If you are a small group of users that may be possible, but otherwise it is too late.
这篇关于如何使商品修订历史中的名称保持一致?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!