Skip to content

Instantly share code, notes, and snippets.

@kondor6c
Created June 4, 2018 15:33
Show Gist options
  • Save kondor6c/755f61750e26b86d6017488aa6523055 to your computer and use it in GitHub Desktop.
Save kondor6c/755f61750e26b86d6017488aa6523055 to your computer and use it in GitHub Desktop.
[user]
name = Kevin Faulkner
email = [email protected]
signingkey = C5D5F4BED24A4A02
[gpg]
program = gpg2
[color]
diff = auto
status = auto
branch = auto
ui = true
[rebase]
autosquash = true
[core]
excludesfile = ~/.local/git/global_git_ignore
editor = vim
[alias]
push-ubranch = "push -u origin "
unpushed = log --branches --not --remotes\n --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset\n %s %Cgreen(%cr) %C(bold blue)%Creset' --abbrev-commit
undo = reset --hard HEAD~1
lds = log --color --graph --pretty=format:\n '%Cred%h% %ad%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)\n %Creset' --abbrev-commit --decorate --date=short
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
lol = log --graph --decorate --pretty=oneline --abbrev-commit
longbranch = log --graph --branches
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment