dotfiles/.gitconfig
Severin Kaderli 85cf04e43a Add alias for push and diff to .gitconfig
Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
2016-09-12 21:17:37 +02:00

26 lines
467 B
INI

[user]
email = severin.kaderli@gmail.com
name = Severin Kaderli
[alias]
# Display the history of the latest 20 commits
l = log --pretty=oneline -n 20 --graph --abbrev-commit
# Shortcut for status
s = status
# Add all files
a = add --all
# Create a commit and sign it off
c = commit -s -m
# Push to the master branch of the origin remote
p = push origin master
# Shortcut for diff
d = diff
[color]
# Activate color use in git commands
ui = auto