add git alias
Prithu Goswami prithugoswami524@gmail.com
Wed, 26 Aug 2020 05:16:42 +0530
1 files changed,
7 insertions(+),
1 deletions(-)
jump to
M
.gitconfig
→
.gitconfig
@@ -1,3 +1,9 @@
[user] email = prithugoswami524@gmail.com - name = prithugoswami + 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 +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"