The git-extras package already provides an undo alias that behaves exactly the same way. Also, the package is very popular (the more popular the more it makes sense to include a feature for general consumption).
Puppet class parameter: extras => true
Oh My Zsh Git aliases
Oh My Zsh is tremendously popular, and because of its popularity it may be a good idea to provide the same set, or at least a matching subset, of Git aliases for Bash.
Preferably, the aliases should be defined in a Git config file and generically be turned into Bash shortcut aliases (e.g. gco, gaa, etc.).
Currently, we only have the
undo-commit
alias in the git class. As a starting point.git-extras
The git-extras package already provides an
undo
alias that behaves exactly the same way. Also, the package is very popular (the more popular the more it makes sense to include a feature for general consumption).Puppet class parameter:
extras => true
Oh My Zsh Git aliases
Oh My Zsh is tremendously popular, and because of its popularity it may be a good idea to provide the same set, or at least a matching subset, of Git aliases for Bash.
Preferably, the aliases should be defined in a Git config file and generically be turned into Bash shortcut aliases (e.g.
gco
,gaa
, etc.).Puppet class parameter:
bash_aliases => true
Reading Resources