author | Shawn O. Pearce <spearce@spearce.org> | |
Mon, 5 Feb 2007 20:21:06 +0000 (15:21 -0500) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 5 Feb 2007 21:48:59 +0000 (13:48 -0800) | ||
commit | ea81fcc5762c56b13d1ad04d62b161d782c591f1 | |
tree | d6874903dfc8ad12d74cf90ccf398cc178a453ca | tree | snapshot |
parent | 69057cf39f87ecfe7446b14aa7df87ccf19b1151 | commit | diff |
Show an example of deleting commits with git-rebase.
This particular use of git-rebase to remove a single commit or a
range of commits from the history of a branch recently came up on
the mailing list. Documenting the example should help other users
arrive at the same solution on their own.
It also was not obvious to the newcomer that git-rebase is able to
accept any commit for --onto <newbase> and <upstream>. We should
at least minimally document this, as much of the language in
git-rebase's manpage refers to 'branch' rather than 'committish'.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This particular use of git-rebase to remove a single commit or a
range of commits from the history of a branch recently came up on
the mailing list. Documenting the example should help other users
arrive at the same solution on their own.
It also was not obvious to the newcomer that git-rebase is able to
accept any commit for --onto <newbase> and <upstream>. We should
at least minimally document this, as much of the language in
git-rebase's manpage refers to 'branch' rather than 'committish'.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-rebase.txt | diff | blob | history |