From 508b0f05fbd09a6b6eea4fa86b89f25d1f6b2e44 Mon Sep 17 00:00:00 2001 From: Yorick van Pelt Date: Fri, 26 Aug 2016 16:50:53 +0200 Subject: [PATCH] add git aliases --- git/gitconfig.symlink | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/git/gitconfig.symlink b/git/gitconfig.symlink index 951b873..73feb30 100644 --- a/git/gitconfig.symlink +++ b/git/gitconfig.symlink @@ -6,6 +6,18 @@ [alias] lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative st = status - + remotes = remote -v + branches = branch -a + tags = tag + stashes = stash list + unstage = reset -q HEAD -- + discard = checkout -- + uncommit = reset --mixed HEAD~ + graph = log --graph -10 --branches --remotes --tags --format=format:'%Cgreen%h %Creset• %<(75,trunc)%s (%cN, %cr) %Cred%d' --date-order [push] default = simple +[user] + email = yorickvanpelt@gmail.com + name = Yorick van Pelt +[help] + autocorrect = 5