我知道你能做到git --amend
改变的最新提交的提交信息。但是,如何更改第二个最新的提交消息?以下是我现在提交的内容:如何修改第二最新提交
commit eca1b2db14da8ace66aed172056c6e7aaf323093
Author: Adam Sandler
Date: Fri Jul 13 18:00:13 2012 -0700
Pre-final work on appending new items on top
commit 7d21bbfea24cb72eafbe0213cad6339354078a81
Author: Adam Sandler
Date: Fri Jul 13 11:57:40 2012 -0700
Pre-final work on appending new item on top.
Loading more when user reaches the end of the scroll view
我想更改其中包含两条消息的提交7d21bbfea24cb72eafbe0213ca
。
的可能重复[我怎样才能修改以前的git的承诺(http://stackoverflow.com/questions/5587880/how-can-i-amend -a-previous-git-commit) – Daenyth 2012-07-15 01:47:01