Skip to content

Instantly share code, notes, and snippets.

@tcaddy
Created May 9, 2018 18:10
Show Gist options
  • Save tcaddy/9e79e9768d9e053de87d430c16de2471 to your computer and use it in GitHub Desktop.
Save tcaddy/9e79e9768d9e053de87d430c16de2471 to your computer and use it in GitHub Desktop.
dot files
# This is Git's per-user configuration file.
[user]
# Please adapt and uncomment the following lines:
name = Firstname Lastname
email = [email protected]
[color]
ui = auto
[rebase]
autosquash = true
[alias]
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
bbd = branch --sort=-committerdate
grepout = "!git checkout $(git branch | grep \"$1\" | tail -n 1) #"
wiff = diff -w --color-words=.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment