Last active
April 12, 2025 02:21
-
-
Save jjmontesl/62e7ed0669cbc804b4bd8dcbf139ed10 to your computer and use it in GitHub Desktop.
My .gitconfig
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [alias] | |
| ignored = !git ls-files -v | grep "^[[:lower:]]" | |
| ci = commit | |
| st = status | |
| co = checkout | |
| dc = diff --cached | |
| #lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit | |
| lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit | |
| mg = merge --no-ff --no-commit | |
| #lg = !"git lg1" | |
| #lg1 = !"git lg1-specific --all" | |
| #lg2 = !"git lg2-specific --all" | |
| #lg3 = !"git lg3-specific --all" | |
| 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(auto)%d%C(reset)' | |
| 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(auto)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' | |
| lg3 = 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 cyan)(committed: %cD)%C(reset) %C(auto)%d%C(reset)%n'' %C(white)%s%C(reset)%n'' %C(dim white)- %an <%ae> %C(reset) %C(dim white)(committer: %cn <%ce>)%C(reset)' | |
| [core] | |
| excludesfile = ~/.gitignore | |
| [push] | |
| default = simple | |
| [credential] | |
| helper = cache --timeout 64800 |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Removed forced current dir for
stalias (was:status .).