Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebase fails when commit message starts with "#" #16444

Open
splintor opened this issue Apr 3, 2023 · 0 comments
Open

Rebase fails when commit message starts with "#" #16444

splintor opened this issue Apr 3, 2023 · 0 comments

Comments

@splintor
Copy link

splintor commented Apr 3, 2023

The problem

GitHub Desktop allows me to commit with a message that starts with a #, but when I try to rebase my branch and this commit has conflicts, after I fix the conflicts and ask GitHub Desktop to continue with the rebase, it fails. I think this happens because git considers the commit message as a comment, since it starts with a #.

(Our convention is to start PR names with "#<JIRA Ticket>", so this is also what I use for my first commit message.)

Release version

Version 3.2.0 (arm64)

Operating system

Mac OS Ventura 13.2.1

Steps to reproduce the behavior

  1. Create a branch – A.
  2. Make a change and commit it with a message that starts with #.
  3. Create another branch – B.
  4. Commit a change in the same place as you did for branch A.
  5. Checkout branch A, and try to rebase it to branch B.

Log files

No response

Screenshots

No response

Additional context

No response

@splintor splintor changed the title Rebase fails when commit message starts with # Rebase fails when commit message starts with "#" Apr 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant