Skip to content

Instantly share code, notes, and snippets.

@arolfes
Created October 10, 2019 09:00
Show Gist options
  • Save arolfes/01fd26469ab6d5068c4a9e7f9f49cb9b to your computer and use it in GitHub Desktop.
Save arolfes/01fd26469ab6d5068c4a9e7f9f49cb9b to your computer and use it in GitHub Desktop.
my personal .gitconfig
[user]
name = <UserName>
email = <Email>
[push]
default = upstream
[branch]
[color]
status = auto
branch = auto
ui = auto
[core]
autocrlf = input
editor = vim
[fetch]
prune = true
[pull]
rebase = true
[rebase]
autostash = true
[help]
autocorrect = 1
[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"
st = status -sb
co = checkout
rb = rebase
[http]
sslCAinfo = /etc/ssl/certs/ca-bundle.trust.crt
~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment