Skip to content

Instantly share code, notes, and snippets.

@carpeliam
Created June 14, 2021 18:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carpeliam/bef6b1870500dde580f20ea844ce6833 to your computer and use it in GitHub Desktop.
Save carpeliam/bef6b1870500dde580f20ea844ce6833 to your computer and use it in GitHub Desktop.
[core]
editor = /usr/local/bin/vim
hooksPath = /Users/pivotal/workspace/git-hooks-core
[transfer]
fsckobjects = true
[alias]
gst = git
st = status
di = diff
co = checkout
ci = commit
cp = cherry-pick
br = branch
sta = stash
llog = log --date=local
flog = log --pretty=fuller --decorate
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
lol = log --graph --decorate --oneline
lola = log --graph --decorate --oneline --all
blog = log origin/master... --left-right
ds = diff --staged
fixup = commit --fixup
squash = commit --squash
amendit = commit --amend --no-edit
unstage = reset HEAD
rum = rebase master@{u}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment