Skip to content

Instantly share code, notes, and snippets.

@Altreus
Last active July 18, 2019 16:38
Show Gist options
  • Save Altreus/5031739 to your computer and use it in GitHub Desktop.
Save Altreus/5031739 to your computer and use it in GitHub Desktop.
.gitconfig
[user]
email =
name =
signingkey =
[alias]
lg = log --graph --decorate --branches --oneline --remotes --tags --all
qlog = log --graph --decorate --branches --oneline --tags
st = status
co = checkout
ci = commit
ff = merge --ff-only
pushfl = push --force-with-lease
cdiff = diff --cached
close = merge --no-ff
yoink = cherry-pick
unstage = reset HEAD
stashed = stash list --pretty=format:'%gd: %Cred%h%Creset %Cgreen[%ar]%Creset %s'
root = rev-parse --show-toplevel
uncommit = reset HEAD^
[status]
submodulesummary = true
short = true
branch = true
[commit]
gpgsign = true
[core]
editor = vim
excludesfile = /home/altreus/.gitignore
[color]
status = auto
diff = auto
interactive = auto
branch = auto
[color "branch"]
current = yellow bold
remote = cyan bold
[color "diff"]
new = yellow bold
old = red bold
meta = cyan bold
frag = white bold
commit = white bold
[color "status"]
added = yellow bold
changed = cyan bold
untracked = red bold
[push]
rebase = preserve
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment