Skip to content

Instantly share code, notes, and snippets.

@gh0st
Last active November 11, 2021 14:23
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 gh0st/485c548843567db37e2e74a8be2efc68 to your computer and use it in GitHub Desktop.
Save gh0st/485c548843567db37e2e74a8be2efc68 to your computer and use it in GitHub Desktop.
[colors]
diff = auto
status = auto
branch = auto
interactive = auto
ui = true
pager = true
[alias]
lol = log --graph --decorate --pretty=oneline --abbrev-commit --all
lg = 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
s = status -s
co = checkout
b = branch
sb = show-branch
cob = checkout -b
a = add
ap = add --patch
ds = diff --staged
d = diff
rb = rebase
rbi = rebase -i
rp = remote prune
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment