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
{{ message }}
Repository navigation
unable to copy text from "Commit failed" modal #21785
I'm using GitHub Desktop to make a commit, our code runs the pre-commit hook, it fails, and the commit failed modal has a wall of text of the issue. I can select the text, but I'm unable to copy the text to my clipboard, so I can look up more information about my error.
Release version
3.5.6 (arm64)
Operating system
OSX Tahoe 26.3.1
Steps to reproduce the behavior
Add file to any git repo at path: .git/hooks/pre-commit, with contents:
#!/bin/sh
echo "pre-commit: fail, try to copy me in Github Desktop"
exit 1
Try to make a git commit in Github Desktop, and then try to copy the text output to your clipboard. Not able to. Its helpful to be able to copy commit failures to your team to let them know your issues, and/or help you resolve.
Log files
No response
Screenshots
No response
Additional context
No response
Reacted by Eric Case, Ben Hubbard, TobLen-Valora and hcalleba
Hey @peterdietz, this was fixed in #21728 and is currently on our beta channel, it will be included in the next production release. Feel free to download the beta and try it out today though!
Activity
niik commentedon Mar 12, 2026
Hey @peterdietz, this was fixed in #21728 and is currently on our beta channel, it will be included in the next production release. Feel free to download the beta and try it out today though!
econsarfraz commentedon Sep 11, 2026
It's Still Not working