all repos — dotfiles @ 4adc9bb103d12612992c9a1a4049a7c99ca41a6d

linux dotfiles

gitconfig: add 'git add' alias
Prithu Goswami pg@prithu.dev
Sun, 28 Aug 2022 20:46:37 +0530
commit

4adc9bb103d12612992c9a1a4049a7c99ca41a6d

parent

42f69979b9cbd4cda471e5cbad64d2e08542ff53

1 files changed, 4 insertions(+), 1 deletions(-)

jump to
M home/.gitconfighome/.gitconfig

@@ -7,12 +7,13 @@ name = Prithu Goswami

signingkey = A17AFDEA2EF9A76AA868285DE2AB251EDB8945E5 [alias] - lg1 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all + lg1 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ah)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all lg = !"git lg1" sra = !"git log --format=%H -n 10 --all | xargs git show" sr = !"git log --format=%H -n 10 | xargs git show" pushall = !"git remote | xargs -L1 git push" + a = !"git status --short | grep \"^ M\\|^ D\\|^\\?\\?\" | fzf -m | awk '{ print $2 }' | xargs git add" st = status --short ci = commit ca = commit --amend

@@ -37,3 +38,5 @@ conflictstyle = diff3

[diff] colorMoved = default +[advice] + addEmptyPathspec = false