GitHub Desktop very slow to commit after re-install
See original GitHub issueDescribe the bug
Before my reinstall, a commit would be immediate, just like on my commandline (which still is immediate touching the same files in the same repo). After the reinstall, it takes over a minute to commit a simple README.md change.
Version & OS
Version 2.5.4-linux1.
I tried the latest version as well, to find the same behavior.
Steps to reproduce the behavior
- Change any file
- Commit
Expected behavior
Near-immediate commit
Actual behavior
Commit takes over a minute
Screenshots
Logs
2021-01-10T19:15:38.860Z - info: [ui] Background fetch for 3 repositories took 0.623sec
2021-01-10T19:16:35.940Z - info: [ui] [BranchPruner] Last prune took place in a day - skipping
2021-01-10T19:18:13.325Z - info: [ui] Executing updateIndex: git update-index --add --remove --replace -z --stdin (took 95.848s)
2021-01-10T19:18:13.611Z - info: [ui] [Timing] Action 'create commit' for 'transloadit/transloadit-api2' took 96.172s
2021-01-10T19:20:24.302Z - info: [ui] Executing parseTrailers: git interpret-trailers --parse (took 122.124s)
Originally posted over at https://github.com/desktop/desktop/issues/11364
Issue Analytics
- State:
- Created 3 years ago
- Reactions:6
- Comments:7 (1 by maintainers)
Top Results From Across the Web
GitHub Desktop very slow to commit after re-install #11364
After the reinstall, it takes over a minute to commit a simple README.md change. Version & OS. Version 2.5.4-linux1. I tried the latest...
Read more >Github Desktop is very slow · Issue #7108
The application itself isn't unresponsive and the swirling icon works just fine. I can commit to master, then it takes 5s-10s then push...
Read more >GitHub Desktop has begun running slow · Issue #9193
Go to Github. Wait for the current repo to refresh; Perform any function (including Help->About); Everything is extremely slow. Expected ...
Read more >Very Slow Performance since 2.9.6 update · Issue #13586
I've reinstalled the software and it is still very slow. ... Yesterday I got a notification to update GitHub Desktop and after restarting ......
Read more >GitHub Desktop: Extremely slow after an update · Issue #14950
The problem. Everything has become slow. Clicking on file -> Diff takes 5-6 seconds to load (spinner keeps spinning in diff window)
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Version & OS: Version 2.5.4-linux1 on Ubuntu 20.04
If you leave the window and come back, it will apply the commit. Within the last week, I did a fresh install of Ubuntu 20.04 on two different machines and they both exhibit the same issue.
Additionally, I just created a test repository through Github Desktop and it has the same issue. The progress indicator just spins, but it doesn’t move to the commit history screen until focus has left and returned to Github Desktop. The repository does get made in this instance, but it doesn’t seem to finish properly until you’ve returned to the application.
Reproduction flow: Step 1: Create a new repository inside of GitHub Desktop. The progress indicator will spin. The repository and its folder get created, but doesn’t finish. It gets stuck on something related to
.gitattributes
. Step 2: Open terminal and verify withgit status
:Step 3: Go back to Github Desktop and it will quickly go to the commit screen. Step 4: Back to terminal once more to check what’s changed:
So it’s getting stuck somewhere within the process of setting up the repository. In the case of the topic of the issue, I’ve verified that any file commits don’t take place until you’ve returned to the window.
Hope this helps.
This is the same as #329, please follow along with that issue.