Closed
Description
Setup
- Which version of Git for Windows are you using? Is it 32-bit or 64-bit?
$ git --version --build-options
>git --version --build-options
git version 2.22.0.windows.1
cpu: x86_64
built from commit: d003d728ffa6c0006da875ec6318d3f6b28a4ddb
sizeof-long: 4
sizeof-size_t: 8
- Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit?
$ cmd.exe /c ver
Microsoft Windows [Version 10.0.16299.1268]
- What options did you set as part of the installation? Or did you choose the
defaults?
>type "C:\Program Files\Git\etc\install-options.txt"
Editor Option: Notepad++
Custom Editor Path:
Path Option: Cmd
SSH Option: OpenSSH
CURL Option: WinSSL
CRLF Option: CRLFCommitAsIs
Bash Terminal Option: MinTTY
Performance Tweaks FSCache: Enabled
Use Credential Manager: Enabled
Enable Symlinks: Enabled
Enable Builtin Interactive Add: Enabled
- Any other interesting things about your environment that might be related
to the issue you're seeing?
Nothing that I would believe would be of interest
Details
- Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other
CMD
- What commands did you run to trigger this issue? If you can provide a
Minimal, Complete, and Verifiable example
this will help us understand the issue.
>git rebase --rebase-merges origin/master
- What did you expect to occur after running these commands?
A normal rebase procedure with or without merge conflicts
- What actually happened instead?
I got the following output :
>git rebase --rebase-merges origin/master
error: refusing to update ref with bad name 'refs/rewritten/Merged-PR-183:-Handling-for-message'
hint: Could not execute the todo command
hint:
hint: label Merged-PR-183:-Handling-for-message
hint:
hint: It has been rescheduled; To edit the command before continuing, please
hint: edit the todo list first:
hint:
hint: git rebase --edit-todo
hint: git rebase --continue
Which was resolved after manually replacing all refs with the colon (':') character with a valid character. This led me to believe that the auto-generated labels led to invalid refnames, one would expect the auto-generated refs to be valid.
- If the problem was occurring with a specific repository, can you provide the
URL to that repository to help us with testing?