Skip to main content
deleted 2 characters in body
Source Link
Kamol Hasan
  • 13.9k
  • 2
  • 45
  • 52

StepWay 1:

Try using:

$ git branch -d -- myBranch<U+0094> 

-- is here to inform getopt to stop parsing options.

StepWay 2:

  • If you're using PowerShell then the escape character is the " ` " (backward apostrophe/grave or backtick).
  • If you're using cmd.exe then the escape character is " ^ " (carat)
  • If you're using bash then the escape character is " \ " (backslash)

Use those escaping characters to escape special characters.

$ git branch -d myBranch\<U\+0094\> 

Step 1:

Try using:

$ git branch -d -- myBranch<U+0094> 

-- is here to inform getopt to stop parsing options.

Step 2:

  • If you're using PowerShell then the escape character is the " ` " (backward apostrophe/grave or backtick).
  • If you're using cmd.exe then the escape character is " ^ " (carat)
  • If you're using bash then the escape character is " \ " (backslash)

Use those escaping characters to escape special characters.

$ git branch -d myBranch\<U\+0094\> 

Way 1:

Try using:

$ git branch -d -- myBranch<U+0094> 

-- is here to inform getopt to stop parsing options.

Way 2:

  • If you're using PowerShell then the escape character is the " ` " (backward apostrophe/grave or backtick).
  • If you're using cmd.exe then the escape character is " ^ " (carat)
  • If you're using bash then the escape character is " \ " (backslash)

Use those escaping characters to escape special characters.

$ git branch -d myBranch\<U\+0094\> 
added 149 characters in body
Source Link
Kamol Hasan
  • 13.9k
  • 2
  • 45
  • 52

Step 1:

Try using:

$ git branch -d -- myBranch<U+0094> 

-- is here to inform getopt to stop parsing options.

Step 2:

  • If you're using PowerShell then the escape character is the " ` " (backward apostrophe/grave or backtick).
  • If you're using cmd.exe then the escape character is " ^ " (carat)
  • If you're using bash then the escape character is " \ " (backslash)

Use those escaping characters to escape special characters.

$ git branch -d myBranch\<U\+0094\> 
  • If you're using PowerShell then the escape character is the " ` " (backward apostrophe/grave or backtick).
  • If you're using cmd.exe then the escape character is " ^ " (carat)
  • If you're using bash then the escape character is " \ " (backslash)

Use those escaping characters to escape special characters.

$ git branch -d myBranch\<U\+0094\> 

Step 1:

Try using:

$ git branch -d -- myBranch<U+0094> 

-- is here to inform getopt to stop parsing options.

Step 2:

  • If you're using PowerShell then the escape character is the " ` " (backward apostrophe/grave or backtick).
  • If you're using cmd.exe then the escape character is " ^ " (carat)
  • If you're using bash then the escape character is " \ " (backslash)

Use those escaping characters to escape special characters.

$ git branch -d myBranch\<U\+0094\> 
Source Link
Kamol Hasan
  • 13.9k
  • 2
  • 45
  • 52

  • If you're using PowerShell then the escape character is the " ` " (backward apostrophe/grave or backtick).
  • If you're using cmd.exe then the escape character is " ^ " (carat)
  • If you're using bash then the escape character is " \ " (backslash)

Use those escaping characters to escape special characters.

$ git branch -d myBranch\<U\+0094\>