doesn't work with git aliases
muszek opened this issue · comments
muszek@dziobak:/tmp$ git ci -m 'test'
[master (root-commit) bf8c011] test
2 files changed, 0 insertions(+), 0 deletions(-)
create mode 100644 a
create mode 100644 b
muszek@dziobak:/tmp$ gitjk
I didn't recognize that command
How should I look up what an alias does?
If it does multiple commands it might be difficult to undo some / all of them.
Hmmm.... perhaps you should consider showing (optionally) info on undoing
more than the most recent command? Take a look at the timestamp - if they
were done in one go, show undo commands in a reversed order for all of
them. Otherwise just the last command. gitjk -n 3 could instruct us on
undoing the last 3 commands.
A simpler solution would be to support aliases only if they're for a single
command, which I bet is the most common scenario.
A part of my ~/.gitconfig
[alias]
st = status
ci = commit
co = checkout
br = branch
On Tue, May 27, 2014 at 1:53 PM, Nick Doiron notifications@github.comwrote:
How should I look up what an alias does?
If it does multiple commands it might be difficult to undo some / all of
them.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/6#issuecomment-44265749
.
kind regards,
Mateusz Mucha
muszek@gmail.com
Mostly supported now by #8