diff options
| author | Sam Chudnick <sam@chudnick.com> | 2022-06-16 21:06:07 -0400 |
|---|---|---|
| committer | Sam Chudnick <sam@chudnick.com> | 2022-06-16 21:06:07 -0400 |
| commit | b18ff21a81b556f60432c2ed3a3c483bc448b669 (patch) | |
| tree | ad41505f9d514662e2b9a30c809081b892602f07 | |
| parent | 68acdb416a433f9833f853baaea99e5e9636f7e8 (diff) | |
Add -e flag to git commit aliases
Added -e flag to git commit aliases to open commit messages in editor.
| -rw-r--r-- | .config/shell/aliasrc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/shell/aliasrc b/.config/shell/aliasrc index a393bea..eb39dd0 100644 --- a/.config/shell/aliasrc +++ b/.config/shell/aliasrc | |||
| @@ -14,14 +14,14 @@ alias \ | |||
| 14 | alias \ | 14 | alias \ |
| 15 | g='git' \ | 15 | g='git' \ |
| 16 | ga='git add' \ | 16 | ga='git add' \ |
| 17 | gc='git commit -m' \ | 17 | gc='git commit -e -m' \ |
| 18 | gd='git diff' \ | 18 | gd='git diff' \ |
| 19 | gl='git log' \ | 19 | gl='git log' \ |
| 20 | gp='git push' \ | 20 | gp='git push' \ |
| 21 | gs='git status' \ | 21 | gs='git status' \ |
| 22 | gdf='git --git-dir=$HOME/repos/dotfiles/ --work-tree=$HOME' \ | 22 | gdf='git --git-dir=$HOME/repos/dotfiles/ --work-tree=$HOME' \ |
| 23 | gda='git --git-dir=$HOME/repos/dotfiles/ --work-tree=$HOME add' \ | 23 | gda='git --git-dir=$HOME/repos/dotfiles/ --work-tree=$HOME add' \ |
| 24 | gdc='git --git-dir=$HOME/repos/dotfiles/ --work-tree=$HOME commit -m' \ | 24 | gdc='git --git-dir=$HOME/repos/dotfiles/ --work-tree=$HOME commit -e -m' \ |
| 25 | gdd='git --git-dir=$HOME/repos/dotfiles/ --work-tree=$HOME diff' \ | 25 | gdd='git --git-dir=$HOME/repos/dotfiles/ --work-tree=$HOME diff' \ |
| 26 | gdl='git --git-dir=$HOME/repos/dotfiles/ --work-tree=$HOME log' \ | 26 | gdl='git --git-dir=$HOME/repos/dotfiles/ --work-tree=$HOME log' \ |
| 27 | gdp='git --git-dir=$HOME/repos/dotfiles/ --work-tree=$HOME push' \ | 27 | gdp='git --git-dir=$HOME/repos/dotfiles/ --work-tree=$HOME push' \ |
