Skip to content

Instantly share code, notes, and snippets.

View danlsgiga's full-sized avatar
🐧

Daniel Santos danlsgiga

🐧
View GitHub Profile
$ git config --global alias.lg "log --graph --abbrev-commit --decorate --date=format:'%Y-%m-%d %H:%M:%S' --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)'"
$ git config --global alias.hist "log --oneline --graph --decorate --all”
$ git config --global branch.sort "-committerdate"