如何在TortoiseHG Mercurial中编辑错误的提交消息? [英] How do I edit an incorrect commit message in TortoiseHG Mercurial?

查看:87
本文介绍了如何在TortoiseHG Mercurial中编辑错误的提交消息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在尝试换行时,我错误地进行了 TortoiseHG 提交,并在提交消息中写了完全错误的内容.如何在此处更改提交消息?

I mistakenly did a TortoiseHG commit while trying to do a new line, and wrote the totally wrong thing in the commit message. How can I change the commit message here ?

我尚未推送提交.

推荐答案

从提交按钮的下拉菜单中选择修改当前修订"(在屏幕截图上标记).按钮标题将变为修改".输入新的提交消息,然后单击修改按钮.

Select "Amend current revision" from dropdown menu of commit button (marked on screenshot). Button title will become "Amend". Enter new commit message and click amend button.

这篇关于如何在TortoiseHG Mercurial中编辑错误的提交消息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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