git ssb

0+

clacke / gists



Commit 64420945374df0380adf796f00cfd8bcee94be2e

git/config: git ad doesn't work as intended

Claes Wallin (韋嘉誠) committed on 10/29/2016, 10:15:06 AM
Parent: a774e9f2b97c7680d1227ce913597a17026d4de3

Files changed

.config/git/configchanged
.config/git/configView
@@ -1,8 +1,7 @@
11 [merge]
22 tool = meld
33 [alias]
4- ad = "!bash -c \"if [[ \\$# == 0 ]]; then exec git add .; else exec git add \\\"\\$@\\\"; fi\""
54 lg = log --graph --pretty=tformat:'%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%an %ad)%Creset'
65 lr = log --walk-reflogs --pretty=tformat:'%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%an %ad)%Creset'
76 st = status --short
87 amend = commit --amend --no-edit --reset-author

Built with git-ssb-web