GitHub Desktop Invalid argument in Commit
See original GitHub issueDescribe the bug
When committing the code, the tool displays the error messages:
error: unable to create temporary file: Invalid argument error: unable to create temporary file: Invalid argument error: Error building trees
In log GitHub Desktop:
error: [ui] git commit -F -
exited with an unexpected code: 1.
Version & OS
Version 2.9.5 (x64) Windowns 10 Pro 21H2
Steps to reproduce the behavior
- Go to changes;
- Select alter files to commit;
- Scroll down to button ‘commit to branch’
- After click see error.
Screenshots
https://drive.google.com/file/d/1V01ambsVSfxPAZfPM2R2eTbJalHEQyRc/view?usp=sharing
Logs
2021-12-07T13:38:35.034Z - info: [ui] [Timing] Action ‘create commit’ for ‘MYPROJECT’ took 0.936s
2021-12-07T13:38:56.371Z - info: [ui] [AppStore] loading 13 repositories from store
2021-12-07T13:38:57.955Z - info: [ui] launching: 2.9.5 (Windows 10.0.19044)
2021-12-07T13:38:57.956Z - info: [ui] execPath: ‘C:\Users\username\AppData\Local\GitHubDesktop\app-2.9.5\GitHubDesktop.exe’
2021-12-07T13:38:59.035Z - info: [ui] Executing installGlobalLFSFilter: git lfs install --skip-repo (took 1.076s)
2021-12-07T13:39:08.533Z - error: [ui] git commit -F -
exited with an unexpected code: 1.
stderr:
error: unable to create temporary file: Invalid argument
error: unable to create temporary file: Invalid argument
error: Error building trees
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top GitHub Comments
@avipars permissions issues can cause this error. If you’re having issues getting it resolved feel free to open a new issue.
Wanted to pipe in and hope other people can see … hope it helps