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

Improvements to merge squash #1444

Closed
albireox opened this issue Nov 13, 2019 · 3 comments
Closed

Improvements to merge squash #1444

albireox opened this issue Nov 13, 2019 · 3 comments
Labels
feature-request Request for new features or functionality

Comments

@albireox
Copy link

It would be useful if the default commit message when using merge squash included the PR number, similar to what GitHub does. So, if the PR number is 16 the first line in the message would be "The Commit Message (#16)".

Similarly, the message could also contain a list of all the commit messages being squashed. The final commit message would be

The Commit Message (#16)

* The first commit

* The second commit

* Another commit

...
@felipecrs
Copy link
Contributor

The issue #1828 partially covers this, which have a PR open: #1924.

@brianjmurrell
Copy link

brianjmurrell commented Nov 11, 2020

Second item of the original request is still open though. When I squash and merge in the GitHub UI, it presents a default commit message of the commit messages from all of the commits in the PR merged together.

VS Code leaves the commit message completely empty.

One can't even copy the commit message from the commit(s) in the Commits port of the PR in VS Code. The context menu for the commit only has Copy Commit Hash.

@alexr00
Copy link
Member

alexr00 commented Dec 18, 2023

Fixed by #5306

@alexr00 alexr00 closed this as completed Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

5 participants