Skip to content

Add copy commit hash #9084

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

Merged
merged 1 commit into from
Jun 19, 2025
Merged

Conversation

hosmelq
Copy link
Contributor

@hosmelq hosmelq commented Jun 18, 2025

🧢 Changes

This PR adds an option to CommitContextMenu that allows copying the hash to the clipboard.

☕️ Reasoning

At times, I need to copy the git hash. For instance, in V3, I have to click on the commit and copy it from the opened panel.

Copy link

vercel bot commented Jun 18, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
gitbutler-components ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 18, 2025 11:16pm

Copy link

vercel bot commented Jun 18, 2025

@hosmelq is attempting to deploy a commit to the GitButler Team on Vercel.

A member of the Team first needs to authorize it.

@Byron
Copy link
Collaborator

Byron commented Jun 19, 2025

Thanks a lot for contributing!

To me it makes sense to have this feature in the right-click menu as well, and a member of the frontend team will take a look at it shortly!

It would also be interesting to learn why frequent copying of the hash is still necessary in the first place - maybe there is a workflow that GitButler could support better?
Thanks again.

@Byron Byron requested a review from PavelLaptev June 19, 2025 02:39
Copy link
Contributor

@PavelLaptev PavelLaptev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks! :-)

@Byron Byron merged commit 529b32b into gitbutlerapp:master Jun 19, 2025
19 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants