Command failed error

Hello, I’m new to the GitHub desktop app(mac), I wonder if anyone has encountered this error after choosing a repo, once close this error, tons more errors popped up.

I tried to log out and re-authorize the app but the issue still occur, can anyone help me, please?

Welcome, and thanks for the report @davidgao7! Could you upload the log file from GitHub Desktop so that I could get some more information about this error? To access the log files go to the file menu in GitHub Desktop and select Help > Show Logs.

The log files are created daily – please upload a log file as an attachment from a day where you experienced the issue.

Hello@steveward thanks for replying! I uninstalled it and reinstalled the app today, do the things all over again and the error is no longer occur, I can’t upload the log file in this chat
Here’s what’s in the file:
2021-03-04T04:30:31.041Z - info: [ui] [AppStore] loading 0 repositories from store
2021-03-04T04:30:31.473Z - info: [ui] Opt in reported.
2021-03-04T04:30:31.797Z - info: [ui] [Welcome] no sign in step found. ignoring…
2021-03-04T04:30:31.806Z - info: [ui] [Welcome] no sign in step found. ignoring…
2021-03-04T04:30:31.864Z - info: [ui] launching: 2.6.4 (Mac OS 11.2.2)
2021-03-04T04:30:31.864Z - info: [ui] execPath: ‘/private/var/folders/1m/t53tylyx60z1hh5002vqjm9w0000gn/T/AppTranslocation/70070F42-60A4-40E4-BCD4-59B41654DCAF/d/GitHub Desktop.app/Contents/Frameworks/GitHub Desktop Helper (Renderer).app/Contents/MacOS/GitHub Desktop Helper (Renderer)’
2021-03-04T04:30:31.864Z - info: [ui] [Welcome] no sign in step found. ignoring…
2021-03-04T04:30:31.925Z - info: [ui] [Welcome] no sign in step found. ignoring…
2021-03-04T04:30:32.257Z - error: [ui] Error checking for updates
Error: Cannot update while running on a read-only volume. The application is on a read-only volume. Please move the application and try again. If you’re on macOS Sierra or later, you’ll need to move the application out of the Downloads directory. See github.comSquirrel/Squirrel.Mac/issues/182 for more information.
2021-03-04T04:30:36.217Z - info: [ui] [Welcome] advancing to step: SignInToDotComWithBrowser
2021-03-04T04:30:36.219Z - info: [ui] [SignInStore] initializing OAuth flow
2021-03-04T04:30:36.219Z - info: [main] opening in browser: github com login/oauth/authorize?client_id=de0e3c7e9973e1c4dd77&scope=repo%20user%20workflow&state=0c2312d2-e7bf-4502-84e3-d88e468032a6
2021-03-04T04:30:36.230Z - info: [ui] [Welcome] current sign in state not found. ignoring…
2021-03-04T04:30:36.247Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring…
2021-03-04T04:30:36.254Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring…
2021-03-04T04:30:40.100Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring…
2021-03-04T04:30:40.108Z - info: [main] Processing protocol url
2021-03-04T04:30:40.108Z - info: [ui] [Dispatcher] requesting authenticated user
2021-03-04T04:30:40.121Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring…
2021-03-04T04:30:40.131Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring…
2021-03-04T04:30:40.184Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring…
2021-03-04T04:30:41.422Z - info: [ui] refocusing the main window after the OAuth flow is completed
2021-03-04T04:30:41.424Z - info: [ui] [SignInStore] account resolved
2021-03-04T04:30:41.424Z - info: [ui] [AppStore] adding account davidgao7 (David Gao) to store
2021-03-04T04:30:41.424Z - info: [ui] [Welcome] advancing to step: ConfigureGit
2021-03-04T04:30:41.446Z - info: [ui] [Welcome] no sign in step found. ignoring…
2021-03-04T04:30:41.491Z - info: [ui] [Welcome] no sign in step found. ignoring…
2021-03-04T04:30:41.492Z - info: [ui] [Welcome] no sign in step found. ignoring…
2021-03-04T04:30:41.498Z - info: [ui] [Welcome] no sign in step found. ignoring…
2021-03-04T04:30:42.044Z - info: [ui] [Welcome] no sign in step found. ignoring…
2021-03-04T04:30:42.306Z - info: [ui] [Welcome] no sign in step found. ignoring…
2021-03-04T04:30:42.307Z - info: [ui] [Welcome] no sign in step found. ignoring…
2021-03-04T04:32:17.838Z - info: [ui] [Welcome] advancing to step: UsageOptOut
2021-03-04T04:32:29.021Z - info: [ui] Opt in reported.
2021-03-04T04:32:29.033Z - info: [ui] [Welcome] no sign in step found. ignoring…
2021-03-04T04:32:50.687Z - info: [ui] [AppStore] adding repository at /Users/tengjungao/codegaze-web to store
2021-03-04T04:32:51.711Z - info: [ui] [BranchPruner] No branches to prune.
2021-03-04T04:33:14.446Z - info: [ui] [AppStore] adding repository at /Users/tengjungao/coder-gaze-atom to store
2021-03-04T04:33:14.974Z - info: [ui] [BranchPruner] No branches to prune.
2021-03-04T04:33:53.596Z - info: [ui] [AppStore] adding repository at /Users/tengjungao/IdeaProjects/InterviewProblems to store
2021-03-04T04:33:54.243Z - info: [ui] [BranchPruner] No branches to prune.
2021-03-04T04:33:56.129Z - info: [ui] [BranchPruner] Last prune took place in a day - skipping
2021-03-04T04:34:29.876Z - info: [ui] [AppStore] adding repository at /Users/tengjungao/PycharmProjects/MachineLearning to store
2021-03-04T04:34:30.599Z - info: [ui] [BranchPruner] No branches to prune.
2021-03-04T04:34:34.957Z - info: [ui] [BranchPruner] Last prune took place in a day - skipping
2021-03-04T04:34:36.819Z - info: [ui] Executing fetch: git -c credential.helper= -c protocol.version=2 fetch --progress --prune origin (took 1.857s)
2021-03-04T04:34:51.734Z - info: [ui] [BranchPruner] Last prune took place in a day - skipping
2021-03-04T04:34:55.139Z - info: [ui] [BranchPruner] Last prune took place in a day - skipping
2021-03-04T04:36:02.706Z - info: [ui] [AppStore] adding repository at /Users/tengjungao/PycharmProjects/PythonLearning to store
2021-03-04T04:36:59.369Z - info: [ui] [BranchPruner] Last prune took place in a day - skipping
2021-03-04T04:37:00.938Z - info: [ui] Executing fetch: git -c credential.helper= -c protocol.version=2 fetch --progress --prune origin (took 1.564s)
2021-03-04T05:05:03.951Z - info: [main] opening in browser: code visualstudio com
2021-03-04T05:07:11.836Z - info: [ui] [BranchPruner] Last prune took place in a day - skipping
2021-03-04T05:07:11.848Z - error: [ui] Branch fast-forwarding failed
Error: Command failed: /private/var/folders/1m/t53tylyx60z1hh5002vqjm9w0000gn/T/AppTranslocation/70070F42-60A4-40E4-BCD4-59B41654DCAF/d/GitHub Desktop.app/Contents/Resources/app/git/bin/git for-each-ref --format=%00%(refname)%00%(objectname)%00%(upstream)%00%(symref)%00%(HEAD)%00 refs/heads refs/remotes

at ChildProcess.exithandler (child_process.js:312:12)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1021:16)
at Socket.<anonymous> (internal/child_process.js:443:11)
at Socket.emit (events.js:315:20)
at Pipe.<anonymous> (net.js:674:12)

2021-03-04T05:07:11.891Z - error: [ui] Error performing periodic fetch for ‘davidgao7/InterviewProblems’
Error: Command failed: /private/var/folders/1m/t53tylyx60z1hh5002vqjm9w0000gn/T/AppTranslocation/70070F42-60A4-40E4-BCD4-59B41654DCAF/d/GitHub Desktop.app/Contents/Resources/app/git/bin/git log -g -z --pretty=%gD%x1F%H%x1F%gs refs/stash

at ChildProcess.exithandler (child_process.js:312:12)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1021:16)
at Socket.<anonymous> (internal/child_process.js:443:11)
at Socket.emit (events.js:315:20)
at Pipe.<anonymous> (net.js:674:12)

2021-03-04T05:07:12.188Z - info: [main] Error report submitted
2021-03-04T05:07:30.897Z - info: [ui] [BranchPruner] Last prune took place in a day - skipping
2021-03-04T05:07:30.914Z - error: [ui] Branch fast-forwarding failed
Error: Command failed: /private/var/folders/1m/t53tylyx60z1hh5002vqjm9w0000gn/T/AppTranslocation/70070F42-60A4-40E4-BCD4-59B41654DCAF/d/GitHub Desktop.app/Contents/Resources/app/git/bin/git for-each-ref --format=%00%(refname)%00%(objectname)%00%(upstream)%00%(symref)%00%(HEAD)%00 refs/heads refs/remotes

at ChildProcess.exithandler (child_process.js:312:12)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1021:16)
at Socket.<anonymous> (internal/child_process.js:443:11)
at Socket.emit (events.js:315:20)
at Pipe.<anonymous> (net.js:674:12)

2021-03-04T05:07:30.937Z - error: [ui] Error performing periodic fetch for ‘cseseniordesign/codegaze-web’
Error: Command failed: /private/var/folders/1m/t53tylyx60z1hh5002vqjm9w0000gn/T/AppTranslocation/70070F42-60A4-40E4-BCD4-59B41654DCAF/d/GitHub Desktop.app/Contents/Resources/app/git/bin/git log -g -z --pretty=%gD%x1F%H%x1F%gs refs/stash

at ChildProcess.exithandler (child_process.js:312:12)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1021:16)
at Socket.<anonymous> (internal/child_process.js:443:11)
at Socket.emit (events.js:315:20)
at Pipe.<anonymous> (net.js:674:12)

2021-03-04T05:07:41.867Z - info: [main] opening in browser: github com cseseniordesign codegaze-web
2021-03-04T05:08:59.292Z - info: [ui] [BranchPruner] Last prune took place in a day - skipping
2021-03-04T05:08:59.299Z - error: [ui] Branch fast-forwarding failed
Error: Command failed: /private/var/folders/1m/t53tylyx60z1hh5002vqjm9w0000gn/T/AppTranslocation/70070F42-60A4-40E4-BCD4-59B41654DCAF/d/GitHub Desktop.app/Contents/Resources/app/git/bin/git for-each-ref --format=%00%(refname)%00%(objectname)%00%(upstream)%00%(symref)%00%(HEAD)%00 refs/heads refs/remotes

at ChildProcess.exithandler (child_process.js:312:12)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1021:16)
at Socket.<anonymous> (internal/child_process.js:443:11)
at Socket.emit (events.js:315:20)
at Pipe.<anonymous> (net.js:674:12)

2021-03-04T05:08:59.335Z - error: [ui] Error performing periodic fetch for ‘cseseniordesign/coder-gaze-atom’
Error: Command failed: /private/var/folders/1m/t53tylyx60z1hh5002vqjm9w0000gn/T/AppTranslocation/70070F42-60A4-40E4-BCD4-59B41654DCAF/d/GitHub Desktop.app/Contents/Resources/app/git/bin/git log -g -z --pretty=%gD%x1F%H%x1F%gs refs/stash

at ChildProcess.exithandler (child_process.js:312:12)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1021:16)
at Socket.<anonymous> (internal/child_process.js:443:11)
at Socket.emit (events.js:315:20)
at Pipe.<anonymous> (net.js:674:12)

2021-03-04T05:08:59.437Z - info: [main] Error report submitted
2021-03-04T05:09:15.246Z - info: [ui] [BranchPruner] Last prune took place in a day - skipping
2021-03-04T05:09:15.253Z - error: [ui] Branch fast-forwarding failed
Error: Command failed: /private/var/folders/1m/t53tylyx60z1hh5002vqjm9w0000gn/T/AppTranslocation/70070F42-60A4-40E4-BCD4-59B41654DCAF/d/GitHub Desktop.app/Contents/Resources/app/git/bin/git for-each-ref --format=%00%(refname)%00%(objectname)%00%(upstream)%00%(symref)%00%(HEAD)%00 refs/heads refs/remotes

at ChildProcess.exithandler (child_process.js:312:12)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1021:16)
at Socket.<anonymous> (internal/child_process.js:443:11)
at Socket.emit (events.js:315:20)
at Pipe.<anonymous> (net.js:674:12)

2021-03-04T05:09:15.290Z - error: [ui] Error performing periodic fetch for ‘davidgao7/InterviewProblems’
Error: Command failed: /private/var/folders/1m/t53tylyx60z1hh5002vqjm9w0000gn/T/AppTranslocation/70070F42-60A4-40E4-BCD4-59B41654DCAF/d/GitHub Desktop.app/Contents/Resources/app/git/bin/git log -g -z --pretty=%gD%x1F%H%x1F%gs refs/stash

at ChildProcess.exithandler (child_process.js:312:12)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1021:16)
at Socket.<anonymous> (internal/child_process.js:443:11)
at Socket.emit (events.js:315:20)
at Pipe.<anonymous> (net.js:674:12)

2021-03-04T05:09:21.208Z - info: [ui] [BranchPruner] Last prune took place in a day - skipping
2021-03-04T05:09:21.221Z - error: [ui] Branch fast-forwarding failed
Error: Command failed: /private/var/folders/1m/t53tylyx60z1hh5002vqjm9w0000gn/T/AppTranslocation/70070F42-60A4-40E4-BCD4-59B41654DCAF/d/GitHub Desktop.app/Contents/Resources/app/git/bin/git for-each-ref --format=%00%(refname)%00%(objectname)%00%(upstream)%00%(symref)%00%(HEAD)%00 refs/heads refs/remotes

at ChildProcess.exithandler (child_process.js:312:12)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1021:16)
at Socket.<anonymous> (internal/child_process.js:443:11)
at Socket.emit (events.js:315:20)
at Pipe.<anonymous> (net.js:674:12)

2021-03-04T05:09:21.246Z - error: [ui] Error performing periodic fetch for ‘davidgao7/PythonLearning’
Error: Command failed: /private/var/folders/1m/t53tylyx60z1hh5002vqjm9w0000gn/T/AppTranslocation/70070F42-60A4-40E4-BCD4-59B41654DCAF/d/GitHub Desktop.app/Contents/Resources/app/git/bin/git log -g -z --pretty=%gD%x1F%H%x1F%gs refs/stash

at ChildProcess.exithandler (child_process.js:312:12)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1021:16)
at Socket.<anonymous> (internal/child_process.js:443:11)
at Socket.emit (events.js:315:20)
at Pipe.<anonymous> (net.js:674:12)

2021-03-04T05:09:42.828Z - info: [ui] [BranchPruner] Last prune took place in a day - skipping
2021-03-04T05:09:42.841Z - error: [ui] Branch fast-forwarding failed
Error: Command failed: /private/var/folders/1m/t53tylyx60z1hh5002vqjm9w0000gn/T/AppTranslocation/70070F42-60A4-40E4-BCD4-59B41654DCAF/d/GitHub Desktop.app/Contents/Resources/app/git/bin/git for-each-ref --format=%00%(refname)%00%(objectname)%00%(upstream)%00%(symref)%00%(HEAD)%00 refs/heads refs/remotes

at ChildProcess.exithandler (child_process.js:312:12)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1021:16)
at Socket.<anonymous> (internal/child_process.js:443:11)
at Socket.emit (events.js:315:20)
at Pipe.<anonymous> (net.js:674:12)

2021-03-04T05:09:42.874Z - error: [ui] Error performing periodic fetch for ‘davidgao7/InterviewProblems’
Error: Command failed: /private/var/folders/1m/t53tylyx60z1hh5002vqjm9w0000gn/T/AppTranslocation/70070F42-60A4-40E4-BCD4-59B41654DCAF/d/GitHub Desktop.app/Contents/Resources/app/git/bin/git log -g -z --pretty=%gD%x1F%H%x1F%gs refs/stash

at ChildProcess.exithandler (child_process.js:312:12)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1021:16)
at Socket.<anonymous> (internal/child_process.js:443:11)
at Socket.emit (events.js:315:20)
at Pipe.<anonymous> (net.js:674:12)

2021-03-04T05:09:56.437Z - info: [ui] [BranchPruner] Last prune took place in a day - skipping
2021-03-04T05:09:56.438Z - error: [ui] Branch fast-forwarding failed
Error: Command failed: /private/var/folders/1m/t53tylyx60z1hh5002vqjm9w0000gn/T/AppTranslocation/70070F42-60A4-40E4-BCD4-59B41654DCAF/d/GitHub Desktop.app/Contents/Resources/app/git/bin/git for-each-ref --format=%00%(refname)%00%(objectname)%00%(upstream)%00%(symref)%00%(HEAD)%00 refs/heads refs/remotes

at ChildProcess.exithandler (child_process.js:312:12)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1021:16)
at Socket.<anonymous> (internal/child_process.js:443:11)
at Socket.emit (events.js:315:20)
at Pipe.<anonymous> (net.js:674:12)

2021-03-04T05:09:56.485Z - error: [ui] Error performing periodic fetch for ‘davidgao7/MachineLearning’
Error: Command failed: /private/var/folders/1m/t53tylyx60z1hh5002vqjm9w0000gn/T/AppTranslocation/70070F42-60A4-40E4-BCD4-59B41654DCAF/d/GitHub Desktop.app/Contents/Resources/app/git/bin/git log -g -z --pretty=%gD%x1F%H%x1F%gs refs/stash

at ChildProcess.exithandler (child_process.js:312:12)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1021:16)
at Socket.<anonymous> (internal/child_process.js:443:11)
at Socket.emit (events.js:315:20)
at Pipe.<anonymous> (net.js:674:12)

2021-03-04T05:10:06.053Z - error: [ui] Branch fast-forwarding failed
Error: Command failed: /private/var/folders/1m/t53tylyx60z1hh5002vqjm9w0000gn/T/AppTranslocation/70070F42-60A4-40E4-BCD4-59B41654DCAF/d/GitHub Desktop.app/Contents/Resources/app/git/bin/git for-each-ref --format=%00%(refname)%00%(objectname)%00%(upstream)%00%(symref)%00%(HEAD)%00 refs/heads refs/remotes

at ChildProcess.exithandler (child_process.js:312:12)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1021:16)
at Socket.<anonymous> (internal/child_process.js:443:11)
at Socket.emit (events.js:315:20)
at Pipe.<anonymous> (net.js:674:12)

2021-03-04T05:10:06.066Z - info: [ui] [BranchPruner] Last prune took place in a day - skipping
2021-03-04T05:10:06.116Z - error: [ui] Error performing periodic fetch for ‘davidgao7/PythonLearning’
Error: Command failed: /private/var/folders/1m/t53tylyx60z1hh5002vqjm9w0000gn/T/AppTranslocation/70070F42-60A4-40E4-BCD4-59B41654DCAF/d/GitHub Desktop.app/Contents/Resources/app/git/bin/git log -g -z --pretty=%gD%x1F%H%x1F%gs refs/stash

at ChildProcess.exithandler (child_process.js:312:12)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1021:16)
at Socket.<anonymous> (internal/child_process.js:443:11)
at Socket.emit (events.js:315:20)
at Pipe.<anonymous> (net.js:674:12)

2021-03-04T05:10:06.194Z - info: [main] Error report submitted
2021-03-04T05:21:29.286Z - info: [ui] [AppStore] loading 0 repositories from store
2021-03-04T05:21:29.287Z - info: [ui] [AppStore] found account: davidgao7 (David Gao)
2021-03-04T05:21:30.227Z - info: [ui] launching: 2.6.4 (Mac OS 11.2.2)
2021-03-04T05:21:30.228Z - info: [ui] execPath: ‘/private/var/folders/1m/t53tylyx60z1hh5002vqjm9w0000gn/T/AppTranslocation/138755D3-45AF-48D0-9213-AAF2076655A0/d/GitHub Desktop.app/Contents/Frameworks/GitHub Desktop Helper (Renderer).app/Contents/MacOS/GitHub Desktop Helper (Renderer)’
2021-03-04T05:21:30.520Z - error: [ui] Error checking for updates
Error: Cannot update while running on a read-only volume. The application is on a read-only volume. Please move the application and try again. If you’re on macOS Sierra or later, you’ll need to move the application out of the Downloads directory. See github.com Squirrel Squirrel.Mac issues 182 for more information.
2021-03-04T05:21:30.558Z - info: [ui] Stats reported.
2021-03-04T05:24:31.880Z - info: [ui] [AppStore] removing account davidgao7 (David Gao) from store
2021-03-04T05:24:44.533Z - info: [ui] [SignInStore] initializing OAuth flow
2021-03-04T05:24:44.534Z - info: [main] opening in browser:
github. com login oauth authorize?client_id=de0e3c7e9973e1c4dd77&scope=repo%20user%20workflow&state=7ab806e6-7f96-42b5-a66d-0cbbe5f0aeb2
2021-03-04T05:25:11.355Z - info: [main] Processing protocol url
2021-03-04T05:25:11.358Z - info: [ui] [Dispatcher] requesting authenticated user
2021-03-04T05:25:12.725Z - info: [ui] [SignInStore] account resolved
2021-03-04T05:25:12.726Z - info: [ui] [AppStore] adding account davidgao7 (David Gao) to store
2021-03-04T05:26:37.308Z - info: [ui] [AppStore] adding repository at /Users/tengjungao/PycharmProjects/MachineLearning to store
2021-03-04T05:26:37.759Z - info: [ui] [BranchPruner] Last prune took place in a day - skipping
2021-03-04T05:27:18.817Z - info: [ui] [AppStore] adding repository at /Users/tengjungao/PycharmProjects/PythonLearning to store
2021-03-04T05:27:19.112Z - info: [ui] [BranchPruner] Last prune took place in a day - skipping
2021-03-04T05:27:21.799Z - info: [ui] [BranchPruner] Last prune took place in a day - skipping
2021-03-04T05:27:46.149Z - info: [ui] [AppStore] adding repository at /Users/tengjungao/codegaze-web to store
2021-03-04T05:27:46.450Z - info: [ui] [BranchPruner] Last prune took place in a day - skipping
2021-03-04T05:28:08.105Z - info: [ui] [AppStore] adding repository at /Users/tengjungao/coder-gaze-atom to store
2021-03-04T05:28:08.500Z - info: [ui] [BranchPruner] Last prune took place in a day - skipping
2021-03-04T05:28:12.367Z - info: [ui] [BranchPruner] Last prune took place in a day - skipping
2021-03-04T05:28:15.789Z - info: [ui] [BranchPruner] Last prune took place in a day - skipping
2021-03-04T05:28:17.150Z - info: [ui] Executing fetch: git -c credential.helper= -c protocol.version=2 fetch --progress --prune origin (took 1.329s)
2021-03-04T05:28:44.510Z - info: [ui] [AppStore] adding repository at /Users/tengjungao/IdeaProjects/InterviewProblems to store
2021-03-04T05:28:44.965Z - info: [ui] [BranchPruner] Last prune took place in a day - skipping
2021-03-04T05:29:48.549Z - info: [ui] [BranchPruner] Last prune took place in a day - skipping
2021-03-04T05:34:31.696Z - info: [ui] [BranchPruner] Last prune took place in a day - skipping
2021-03-04T05:34:40.458Z - info: [ui] [BranchPruner] Last prune took place in a day - skipping
2021-03-04T05:34:40.471Z - error: [ui] Branch fast-forwarding failed
Error: Command failed: /private/var/folders/1m/t53tylyx60z1hh5002vqjm9w0000gn/T/AppTranslocation/138755D3-45AF-48D0-9213-AAF2076655A0/d/GitHub Desktop.app/Contents/Resources/app/git/bin/git for-each-ref --format=%00%(refname)%00%(objectname)%00%(upstream)%00%(symref)%00%(HEAD)%00 refs/heads refs/remotes

at ChildProcess.exithandler (child_process.js:312:12)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1021:16)
at Socket.<anonymous> (internal/child_process.js:443:11)
at Socket.emit (events.js:315:20)
at Pipe.<anonymous> (net.js:674:12)

2021-03-04T05:34:40.494Z - error: [ui] Error performing periodic fetch for ‘davidgao7/InterviewProblems’
Error: Command failed: /private/var/folders/1m/t53tylyx60z1hh5002vqjm9w0000gn/T/AppTranslocation/138755D3-45AF-48D0-9213-AAF2076655A0/d/GitHub Desktop.app/Contents/Resources/app/git/bin/git log -g -z --pretty=%gD%x1F%H%x1F%gs refs/stash

at ChildProcess.exithandler (child_process.js:312:12)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1021:16)
at Socket.<anonymous> (internal/child_process.js:443:11)
at Socket.emit (events.js:315:20)
at Pipe.<anonymous> (net.js:674:12)

2021-03-04T05:34:40.885Z - info: [main] Error report submitted
2021-03-04T05:34:52.162Z - info: [ui] [BranchPruner] Last prune took place in a day - skipping
2021-03-04T05:35:07.649Z - info: [ui] [BranchPruner] Last prune took place in a day - skipping
2021-03-04T05:35:07.654Z - error: [ui] Branch fast-forwarding failed
Error: Command failed: /private/var/folders/1m/t53tylyx60z1hh5002vqjm9w0000gn/T/AppTranslocation/138755D3-45AF-48D0-9213-AAF2076655A0/d/GitHub Desktop.app/Contents/Resources/app/git/bin/git for-each-ref --format=%00%(refname)%00%(objectname)%00%(upstream)%00%(symref)%00%(HEAD)%00 refs/heads refs/remotes

at ChildProcess.exithandler (child_process.js:312:12)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1021:16)
at Socket.<anonymous> (internal/child_process.js:443:11)
at Socket.emit (events.js:315:20)
at Pipe.<anonymous> (net.js:674:12)

2021-03-04T05:35:07.695Z - error: [ui] Error performing periodic fetch for ‘davidgao7/PythonLearning’
Error: Command failed: /private/var/folders/1m/t53tylyx60z1hh5002vqjm9w0000gn/T/AppTranslocation/138755D3-45AF-48D0-9213-AAF2076655A0/d/GitHub Desktop.app/Contents/Resources/app/git/bin/git log -g -z --pretty=%gD%x1F%H%x1F%gs refs/stash

at ChildProcess.exithandler (child_process.js:312:12)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1021:16)
at Socket.<anonymous> (internal/child_process.js:443:11)
at Socket.emit (events.js:315:20)
at Pipe.<anonymous> (net.js:674:12)

2021-03-04T05:40:32.686Z - error: [ui] Branch fast-forwarding failed
Error: Command failed: /private/var/folders/1m/t53tylyx60z1hh5002vqjm9w0000gn/T/AppTranslocation/138755D3-45AF-48D0-9213-AAF2076655A0/d/GitHub Desktop.app/Contents/Resources/app/git/bin/git for-each-ref --format=%00%(refname)%00%(objectname)%00%(upstream)%00%(symref)%00%(HEAD)%00 refs/heads refs/remotes

at ChildProcess.exithandler (child_process.js:312:12)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1021:16)
at Socket.<anonymous> (internal/child_process.js:443:11)
at Socket.emit (events.js:315:20)
at Pipe.<anonymous> (net.js:674:12)

2021-03-04T05:40:32.725Z - error: [ui] Error performing periodic fetch for ‘davidgao7/PythonLearning’
Error: Command failed: /private/var/folders/1m/t53tylyx60z1hh5002vqjm9w0000gn/T/AppTranslocation/138755D3-45AF-48D0-9213-AAF2076655A0/d/GitHub Desktop.app/Contents/Resources/app/git/bin/git log -g -z --pretty=%gD%x1F%H%x1F%gs refs/stash

at ChildProcess.exithandler (child_process.js:312:12)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1021:16)
at Socket.<anonymous> (internal/child_process.js:443:11)
at Socket.emit (events.js:315:20)
at Pipe.<anonymous> (net.js:674:12)

2021-03-04T05:40:33.170Z - info: [main] Error report submitted
2021-03-04T05:44:53.329Z - info: [ui] [BranchPruner] Last prune took place in a day - skipping
2021-03-04T05:47:55.863Z - info: [ui] [BranchPruner] Last prune took place in a day - skipping
2021-03-04T05:48:04.045Z - info: [ui] [BranchPruner] Last prune took place in a day - skipping
2021-03-04T05:48:04.058Z - error: [ui] Branch fast-forwarding failed
Error: Command failed: /private/var/folders/1m/t53tylyx60z1hh5002vqjm9w0000gn/T/AppTranslocation/138755D3-45AF-48D0-9213-AAF2076655A0/d/GitHub Desktop.app/Contents/Resources/app/git/bin/git for-each-ref --format=%00%(refname)%00%(objectname)%00%(upstream)%00%(symref)%00%(HEAD)%00 refs/heads refs/remotes

at ChildProcess.exithandler (child_process.js:312:12)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1021:16)
at Socket.<anonymous> (internal/child_process.js:443:11)
at Socket.emit (events.js:315:20)
at Pipe.<anonymous> (net.js:674:12)

2021-03-04T05:48:04.082Z - error: [ui] Error performing periodic fetch for ‘davidgao7/PythonLearning’
Error: Command failed: /private/var/folders/1m/t53tylyx60z1hh5002vqjm9w0000gn/T/AppTranslocation/138755D3-45AF-48D0-9213-AAF2076655A0/d/GitHub Desktop.app/Contents/Resources/app/git/bin/git log -g -z --pretty=%gD%x1F%H%x1F%gs refs/stash

at ChildProcess.exithandler (child_process.js:312:12)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1021:16)
at Socket.<anonymous> (internal/child_process.js:443:11)
at Socket.emit (events.js:315:20)
at Pipe.<anonymous> (net.js:674:12)

2021-03-04T05:48:04.532Z - info: [main] Error report submitted
2021-03-04T05:49:53.135Z - info: [ui] [BranchPruner] Last prune took place in a day - skipping
2021-03-04T21:53:10.251Z - info: [ui] [AppStore] loading 5 repositories from store
2021-03-04T21:53:10.252Z - info: [ui] [AppStore] found account: davidgao7 (David Gao)
2021-03-04T21:53:10.311Z - info: [ui] [BranchPruner] Last prune took place in 7 hours - skipping
2021-03-04T21:53:11.696Z - info: [ui] launching: 2.6.5 (Mac OS 11.2.2)
2021-03-04T21:53:11.696Z - info: [ui] execPath: ‘/private/var/folders/1m/t53tylyx60z1hh5002vqjm9w0000gn/T/AppTranslocation/8D530FF5-56F8-4C71-B810-7CEF42AC96D1/d/GitHub Desktop.app/Contents/Frameworks/GitHub Desktop Helper (Renderer).app/Contents/MacOS/GitHub Desktop Helper (Renderer)’
2021-03-04T21:53:12.301Z - error: [ui] Error checking for updates
Error: Cannot update while running on a read-only volume. The application is on a read-only volume. Please move the application and try again. If you’re on macOS Sierra or later, you’ll need to move the application out of the Downloads directory. See github com Squirrel Squirrel.Mac issues 182 for more information.
2021-03-04T21:53:37.480Z - info: [ui] [BranchPruner] Last prune took place in 7 hours - skipping
2021-03-04T21:53:39.985Z - info: [ui] [BranchPruner] Last prune took place in 7 hours - skipping
2021-03-04T21:53:41.570Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: codegaze-web - davidgao7 (has token)
2021-03-04T21:53:43.385Z - info: [ui] Executing fetch: git -c credential.helper= -c protocol.version=2 fetch --progress --prune origin (took 1.780s)
2021-03-04T21:54:02.141Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: PythonLearning - davidgao7 (has token)
2021-03-04T21:54:03.298Z - info: [ui] [RepositoryIndicatorUpdater]: Refreshing sidebar indicators for 4 repositories took 1.7s of which 0.0s paused, total 1.7s
2021-03-04T21:54:42.249Z - info: [ui] [BranchPruner] Last prune took place in 7 hours - skipping
2021-03-04T21:54:43.548Z - info: [ui] Executing fetch: git -c credential.helper= -c protocol.version=2 fetch --progress --prune origin (took 1.317s)
2021-03-04T21:54:46.521Z - info: [ui] [BranchPruner] Last prune took place in 7 hours - skipping
2021-03-04T21:54:53.493Z - info: [ui] [BranchPruner] Last prune took place in 7 hours - skipping
2021-03-04T21:54:58.697Z - info: [ui] [BranchPruner] Last prune took place in 7 hours - skipping
2021-03-04T21:55:02.788Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: coder-gaze-atom - davidgao7 (has token)
2021-03-04T21:55:03.883Z - info: [ui] Executing pull: git -c credential.helper= -c protocol.version=2 -c rebase.backend=merge pull --progress origin (took 1.060s)
2021-03-04T21:55:14.445Z - info: [ui] [BranchPruner] Last prune took place in 7 hours - skipping
2021-03-04T21:57:22.726Z - info: [ui] [BranchPruner] Last prune took place in 7 hours - skipping
2021-03-04T21:57:24.646Z - info: [ui] [BranchPruner] Last prune took place in 7 hours - skipping
2021-03-04T21:57:31.893Z - info: [ui] [BranchPruner] Last prune took place in 7 hours - skipping
2021-03-04T21:57:36.502Z - info: [ui] [BranchPruner] Last prune took place in 7 hours - skipping
2021-03-04T21:57:40.271Z - info: [ui] [BranchPruner] Last prune took place in 7 hours - skipping
2021-03-04T22:15:58.148Z - info: [ui] [RepositoryIndicatorUpdater]: Refreshing sidebar indicators for 4 repositories took 1.1s of which 0.0s paused, total 1.1s
2021-03-04T22:30:19.700Z - info: [ui] Executing fetch: git -c credential.helper= -c protocol.version=2 fetch --progress --prune origin (took 1.716s)
2021-03-04T22:38:58.181Z - info: [ui] [RepositoryIndicatorUpdater]: Refreshing sidebar indicators for 4 repositories took 1.2s of which 0.0s paused, total 1.2s
2021-03-04T22:39:11.574Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: codegaze-web - davidgao7 (has token)
2021-03-04T22:39:12.669Z - info: [ui] Executing fetch: git -c credential.helper= -c protocol.version=2 fetch --progress --prune origin (took 1.061s)
2021-03-04T22:44:30.837Z - info: [ui] [BranchPruner] Last prune took place in 6 hours - skipping
2021-03-04T22:44:31.871Z - info: [ui] Executing fetch: git -c credential.helper= -c protocol.version=2 fetch --progress --prune origin (took 1.016s)
2021-03-04T22:44:35.286Z - info: [ui] [BranchPruner] Last prune took place in 6 hours - skipping
2021-03-04T22:44:52.574Z - info: [ui] [BranchPruner] Last prune took place in 6 hours - skipping
2021-03-04T22:45:00.472Z - info: [ui] [BranchPruner] Last prune took place in 6 hours - skipping
2021-03-04T22:45:06.126Z - info: [ui] [BranchPruner] Last prune took place in 6 hours - skipping

sorry for the late reply, it doesn’t allow me to reply with more than 2 links
Thank you ahead

Thanks for sharing the log file @davidgao7. I’d like for you to perform a fresh installation of GitHub Desktop to see if that helps with this issue.

Here’s how to do that:

  1. Close GitHub Desktop
  2. Open File Explorer
  3. Go to %LocalAppData% and delete the GitHubDesktop directory
  4. Go to %AppData% and delete the GitHub Desktop directory
  5. Reinstall GitHub Desktop from http://desktop.github.com

Let me know if that helps at all.

1 Like

Thank you @steveward! I did the reinstallation yesterday and no error occurs so far, I believe the fresh installation is the solution.