You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Create a branch – A.
Make a change and commit it with a message that starts with #.
Create another branch – B.
Commit a change in the same place as you did for branch A.
Checkout branch A, and try to rebase it to branch B.
Log files
No response
Screenshots
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
splintor
changed the title
Rebase fails when commit message starts with #
Rebase fails when commit message starts with "#"
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
#
.Log files
No response
Screenshots
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: