From b18ff21a81b556f60432c2ed3a3c483bc448b669 Mon Sep 17 00:00:00 2001 From: Sam Chudnick Date: Thu, 16 Jun 2022 21:06:07 -0400 Subject: Add -e flag to git commit aliases Added -e flag to git commit aliases to open commit messages in editor. --- .config/shell/aliasrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.config/shell') 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 \ alias \ g='git' \ ga='git add' \ - gc='git commit -m' \ + gc='git commit -e -m' \ gd='git diff' \ gl='git log' \ gp='git push' \ gs='git status' \ gdf='git --git-dir=$HOME/repos/dotfiles/ --work-tree=$HOME' \ gda='git --git-dir=$HOME/repos/dotfiles/ --work-tree=$HOME add' \ - gdc='git --git-dir=$HOME/repos/dotfiles/ --work-tree=$HOME commit -m' \ + gdc='git --git-dir=$HOME/repos/dotfiles/ --work-tree=$HOME commit -e -m' \ gdd='git --git-dir=$HOME/repos/dotfiles/ --work-tree=$HOME diff' \ gdl='git --git-dir=$HOME/repos/dotfiles/ --work-tree=$HOME log' \ gdp='git --git-dir=$HOME/repos/dotfiles/ --work-tree=$HOME push' \ -- cgit v1.2.3