Skip to content

Instantly share code, notes, and snippets.

@johnleider
Created December 21, 2018 02:28
Show Gist options
  • Save johnleider/48ff25d25b97956a23a7ab2d14e6a15b to your computer and use it in GitHub Desktop.
Save johnleider/48ff25d25b97956a23a7ab2d14e6a15b to your computer and use it in GitHub Desktop.
[user]
email = [email protected]
name = John Smith
[push]
default = simple
[alias]
co = checkout
ci = commit
czp = cz && git pu
st = status
br = branch
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
type = cat-file -t
dump = cat-file -p
pu = push
lg = log --graph --decorate --oneline --branches
pn = log --oneline --decorate --graph
chlogm = !sh -c 'git log $1...$2 --pretty=format:\"%s [view commit](http://github.com/$3/$4/commit/%H) \"' -
[core]
autocrlf = input
fileMode = false
@chapuzzo
Copy link

🤔 What does cz in line 9 mean? I guess it's a typo for ci?

@johnleider
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment