Skip to content

Instantly share code, notes, and snippets.

@carloshpdoc
Created July 21, 2021 22:05
Show Gist options
  • Save carloshpdoc/cf7f09ac92de73c5393c46b84cc40a57 to your computer and use it in GitHub Desktop.
Save carloshpdoc/cf7f09ac92de73c5393c46b84cc40a57 to your computer and use it in GitHub Desktop.

Revisions

  1. carloshpdoc created this gist Jul 21, 2021.
    13 changes: 13 additions & 0 deletions .gitconfig
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    [user]
    name =
    email =
    [rebase]
    autoStash = true
    [push]
    followTags = true
    [pull]
    rebase = true
    [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"