mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
Remove slashes from git-config command
These slashes were causing the branch to be saved in `.git/config` with headings such as `[branch "\"pr/123\""]` as opposed to `[branch "pr/123"]`. This in turn prevented these entries from being removed when running `git pr clean`.
This commit is contained in:
parent
49771ba018
commit
6eb04bcca8
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue