From 5623dbd17dda9363bf205e7772ef1d6fe7895074 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Wed, 16 Mar 2016 02:18:31 +0300 Subject: [PATCH] .gitconfig: fix a bug in alias It seems '}' must be escaped in aliases. --- .gitconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5