私はこれを今行うためのより現代的でより簡単な方法はであると信じていますhg uncommit
。これにより、空のコミットが残ることに注意してください。これは、後でコミットメッセージを再利用する場合に役立ちます。そうしない場合はhg uncommit --no-keep
、空のコミットを残さないように使用します。
hg uncommit [OPTION] ...[FILE]..。
ローカルチェンジセットの一部または全部をコミット解除します
This command undoes the effect of a local commit, returning the affected
files to their uncommitted state. This means that files modified or
deleted in the changeset will be left unchanged, and so will remain
modified in the working directory.
If no files are specified, the commit will be left empty, unless --no-keep
申し訳ありませんが、TortoiseHgに相当するものがわかりません。