author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Wed, 17 Oct 2007 01:50:45 +0000 (02:50 +0100) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Wed, 17 Oct 2007 06:54:51 +0000 (02:54 -0400) | ||
commit | 552cecc21447efe9d5f9a86d55b5e428d56a0c53 | |
tree | c6dd9228628bd4db04a50539eee64a18f37c56b5 | tree | snapshot |
parent | 207f1a75e7e4d14286aeed107af7c56dc811797b | commit | diff |
Teach "git reflog" a subcommand to delete single entries
This commit implements the "delete" subcommand:
git reflog delete master@{2}
will delete the second reflog entry of the "master" branch.
With this, it should be easy to implement "git stash pop" everybody
seems to want these days.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
This commit implements the "delete" subcommand:
git reflog delete master@{2}
will delete the second reflog entry of the "master" branch.
With this, it should be easy to implement "git stash pop" everybody
seems to want these days.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Documentation/git-reflog.txt | diff | blob | history | |
builtin-reflog.c | diff | blob | history | |
t/t1410-reflog.sh | diff | blob | history |