git-up
git-up copied to clipboard
Error if name of branch contains the single-quote character
If the name of the branch currently checked out contains the single-quote character '
, git up
fails with the following error:
Failed to rebase feature/john's-branch onto origin/feature/john's-branch
Here's what Git said:
/bin/sh: -c: line 0: unexpected EOF while looking for matching `''
/bin/sh: -c: line 1: syntax error: unexpected end of file