Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GitHUb pull request default title

When I create a PR it's title and body are already filled, in case of main with last commit title and body, and if I create PR to other branch it paste my branch's name as a title. Do somebody know where/how can I manage this default PR titles?

like image 608
cagana Avatar asked May 03 '26 07:05

cagana


1 Answers

GitHub doesn't offer a way to manage default PR titles or messages. In general, there aren't many sane things that could be filled in as a title or PR message. For example, you wouldn't always want to use the same title for a PR, because that would make it difficult for others to reason about your change.

If the default title or message don't suit you, you can just replace them with the values you'd like. For example, I often replace the body with a more nicely formatted version of one of my commit messages, and I'll often change the title to something more descriptive (and properly capitalized). It's fully expected that you'll need to do some editing here; the goal is to just make it so that sometimes, you need to do less.

like image 140
bk2204 Avatar answered May 06 '26 03:05

bk2204



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!