From 680ea33e1c3a3839032ee5ae9653552a6c8c203c Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Wed, 12 Apr 2023 15:57:04 -0400 Subject: [PATCH] ga will prompt with unstaged changes for selection --- .bashrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index eaef00b..731cb95 100644 --- a/.bashrc +++ b/.bashrc @@ -102,7 +102,8 @@ alias xns='lsof +D ~/.local/state/nvim/swap/ | grep -o "/swap/.*" | cut -c 7- | alias mns='fzf | xargs -I {} sqlcmd.exe -S usmidsql01 -i {}' alias nv='~/nvim-linux64/bin/nvim' alias gs='git status -s' -alias ga='git add .' +alias ga='git status --untracked-files=all -s | fzf -m | awk "{print \$2}" | xargs git add ' +alias gr='git reset HEAD' alias gc='git commit -v' alias gd='git difftool' alias gl='git log --graph --oneline --format="%C(yellow)%h %C(green)%an%Creset %C(blue)%ad%Creset %s"'