From: Jannik Zander Date: Tue, 17 May 2016 18:48:54 +0000 (+0200) Subject: Bugfix .gitconfig --soft X-Git-Url: https://git.zndr.dk/?a=commitdiff_plain;h=d174a81479bf82d16358b8fce353ebe841e31ea3;p=dotfiles.git Bugfix .gitconfig --soft --- diff --git a/.gitconfig b/.gitconfig index 210c8e2..440b713 100644 --- a/.gitconfig +++ b/.gitconfig @@ -5,14 +5,16 @@ [alias] a = add una = reset HEAD -- + uha = checkout HEAD -- aa = add -u unaa = reset HEAD + uhaa = reset --hard HEAD br = branch brdm = "!git branch --merged | grep -v '\\*' | xargs -n 1 git branch -d" co = checkout go = "!f() { git checkout -b \"$1\" 2> /dev/null || git checkout \"$1\"; }; f" ci = commit -v - unci = reset -soft HEAD~ + unci = reset --soft HEAD~ amend = commit --amend dt = difftool mt = mergetool