Skip to content

Instantly share code, notes, and snippets.

@paolomainardi
Created December 5, 2014 10:52
Show Gist options
  • Select an option

  • Save paolomainardi/cf33dbd0cb741b077705 to your computer and use it in GitHub Desktop.

Select an option

Save paolomainardi/cf33dbd0cb741b077705 to your computer and use it in GitHub Desktop.
git config
% cat ~/.gitconfig ✭
[user]
name = Paolo Mainardi
email = paolo@twinbit.it
[push]
default = simple
[color]
branch = auto
diff = auto
interactive = auto
status = auto
[alias]
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue)<%an>%Creset' --abbrev-commit
st = status -s
ci = commit
civ = commit -v
co = checkout
rv = remote -v
ll = log --oneline --graph --decorate --all
l = log --oneline --decorate
file-commits = log --follow
commit-branch = reflog show --all
diff-commit-patch = diff-tree -p
up = pull --ff-only
h = help
standup = log --all --author="Paolo Mainardi" --since="2 days ago" --name-status --no-merges
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment