Skip to content

Instantly share code, notes, and snippets.

@y56
Created July 11, 2023 15:45
Show Gist options
  • Save y56/299ddc86a97ee875720a54841475d78e to your computer and use it in GitHub Desktop.
Save y56/299ddc86a97ee875720a54841475d78e to your computer and use it in GitHub Desktop.
git config
[user]
email = y56@example.com
name = Eugene Wang
[color]
ui = auto
[core]
pager = less -FMRiX
excludesfile = /Users/y56/.gitignore
[push]
default = simple
[alias]
st = status
dag = log --graph --format='format:%C(yellow)%h%C(reset) %C(blue)\"%an\" <%ae>%C(reset) %C(magenta)%cr%C(reset)%C(auto)%d%C(reset)%n%s' --date-order
graph = log --oneline --graph --decorate --all
[pager]
diff = diff-highlight | less -RFX
log = diff-highlight | less -RFX
show = diff-highlight | less -RFX
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment