# [PATCH] git-rebase -i: mention the short command aliases in the todo list

1 messages from 2008-06-07 to 2008-06-07. Participants: Miklos Vajna.
Thread: https://gitlist.dev/t/13850

## Miklos Vajna, 2008-06-07 16:20

Subject: [PATCH] git-rebase -i: mention the short command aliases in the todo list
Message-ID: <1212855619-5569-1-git-send-email-vmiklos@frugalware.org>
URL: https://gitlist.dev/e/1212855619-5569-1-git-send-email-vmiklos%40frugalware.org

```
git rebase -i already supports 'p', 'e' and 's' as aliases for 'pick',
'edit' and 'squash', but one could know it only by reading the source
code. If a user rebases a lot, it's quite handy, so mention these short
forms as well.

Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
---
 git-rebase--interactive.sh |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/git-rebase--interactive.sh b/git-rebase--interactive.sh
index 0ca986f..a64d9d5 100755
--- a/git-rebase--interactive.sh
+++ b/git-rebase--interactive.sh
@@ -530,9 +530,9 @@ do
 # Rebase $SHORTUPSTREAM..$SHORTHEAD onto $SHORTONTO
 #
 # Commands:
-#  pick = use commit
-#  edit = use commit, but stop for amending
-#  squash = use commit, but meld into previous commit
+#  p, pick = use commit
+#  e, edit = use commit, but stop for amending
+#  s, squash = use commit, but meld into previous commit
 #
 # If you remove a line here THAT COMMIT WILL BE LOST.
 # However, if you remove everything, the rebase will be aborted.
-- 
1.5.6.rc0.dirty

```
