Merge pull request #643 from jonyamo/git-pr_clean-git-config

Remove slashes from git-config command
This commit is contained in:
罗泽轩 2017-03-29 12:16:11 +08:00 committed by GitHub
commit fda5f3e4ef

View file

@ -18,5 +18,5 @@ else
fi
git fetch -fu $remote refs/pull/$id/head:$branch && \
git checkout $branch && \
git config --local --replace branch.\"$branch\".merge refs/pull/$id/head && \
git config --local --replace branch.\"$branch\".remote $remote;
git config --local --replace branch.$branch.merge refs/pull/$id/head && \
git config --local --replace branch.$branch.remote $remote;