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"'