From: Oleg Broytman Date: Tue, 15 Mar 2016 23:18:31 +0000 (+0300) Subject: .gitconfig: fix a bug in alias X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=5623dbd17dda9363bf205e7772ef1d6fe7895074;p=dotfiles.git .gitconfig: fix a bug in alias It seems '}' must be escaped in aliases. --- diff --git a/.gitconfig b/.gitconfig index 38d9c5c..3ec2ca0 100644 --- a/.gitconfig +++ b/.gitconfig @@ -19,9 +19,9 @@ lr5 = log --decorate --reverse -5 null-merge = merge --strategy=ours remotes = remote -v - ri = "!sh -c 'git rebase --interactive --autosquash --preserve-merges ${1:-\"@{u}\"}' -" - root = rev-parse --show-toplevel + ri = "!sh -c 'git rebase --interactive --autosquash --preserve-merges ${1:-\"@{u\\}\"}' -" #root = !pwd + root = rev-parse --show-toplevel st = status --short stb = status --short --branch tags = tag -l