Github error from app

Hi everyone. I’m having no end of trouble when I try to commit to the github website my code. I have the following error when I commit to master when using Github Desktop app!?

Please help. Thanks
Github error|690x387

Welcome @IrfanZ0! That error is rather vague, but it likely means there is an issue with your local repository that is preventing the commit from succeeding. Could you share the GitHub Desktop log file as an attachment so that I could take a closer look to see what the issue might be?

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.

It would also be helpful if you could run a check on the repository to verify there isn’t any corruption. To do that go to Repository > Open in <command_line> and run the command git fsck. If that returns any errors please share them here. Thanks!

Hi Steve, thanks for replying. Sorry, I couldn’t find a way to upload the file, just an image
The log for 12/14/15/20:

2020-12-14T20:03:00.581Z - info: [ui] [AppStore] loading 1 repositories from store
2020-12-14T20:03:00.582Z - info: [ui] [AppStore] found account: IrfanZ0 (IrfanZ0)
2020-12-14T20:03:03.316Z - info: [ui] Executing getRemotes: git remote -v (took 2.734s)
2020-12-14T20:03:05.774Z - info: [ui] launching: 2.6.0 (Windows 10.0.19042)
2020-12-14T20:03:05.779Z - info: [ui] execPath: ‘C:\Users\iziau\AppData\Local\GitHubDesktop\app-2.6.0\GitHubDesktop.exe’
2020-12-14T20:03:06.169Z - info: [ui] Stats reported.
2020-12-14T20:03:08.712Z - info: [ui] Executing installGlobalLFSFilter: git lfs install --skip-repo (took 4.796s)
2020-12-14T20:04:18.667Z - info: [ui] Executing getRemotes: git remote -v (took 1.251s)
2020-12-14T20:07:07.843Z - info: [ui] [AppStore] loading 1 repositories from store
2020-12-14T20:07:07.845Z - info: [ui] [AppStore] found account: IrfanZ0 (IrfanZ0)
2020-12-14T20:07:10.535Z - info: [ui] launching: 2.6.0 (Windows 10.0.19042)
2020-12-14T20:07:10.535Z - info: [ui] execPath: ‘C:\Users\iziau\AppData\Local\GitHubDesktop\app-2.6.0\GitHubDesktop.exe’
2020-12-14T20:07:12.630Z - info: [ui] Executing getRemotes: git remote -v (took 5.552s)
2020-12-14T20:07:18.984Z - info: [ui] Executing installGlobalLFSFilter: git lfs install --skip-repo (took 10.506s)
2020-12-14T20:16:26.965Z - info: [ui] Executing getStatus: git --no-optional-locks status --untracked-files=all --branch --porcelain=2 -z (took 556.423s)
2020-12-14T20:16:26.966Z - info: [ui] Executing getStatus: git --no-optional-locks status --untracked-files=all --branch --porcelain=2 -z (took 558.547s)
2020-12-14T20:16:30.466Z - info: [ui] Executing getConfigValueInPath: git config -z trailer.separators (took 2.445s)
2020-12-14T20:16:31.224Z - info: [ui] Executing getCommits: git log 8d918d2ee98a78ce417c488b305dda5abb33e352 --date=raw --max-count=1 --pretty=%H%x1F%h%x1F%s%x1F%b%x1F%an <%ae> %ad%x1F%cn <%ce> %cd%x1F%P%x1F%(trailers:unfold,only)%x1F%D -z --no-show-signature --no-color – (took 3.935s)
2020-12-14T20:21:27.398Z - info: [ui] Executing getWorkingDirectoryDiff: git diff --no-ext-diff --patch-with-raw -z --no-color HEAD – .gitignore (took 296.871s)
2020-12-14T20:38:45.464Z - error: [ui] git reset -- . exited with an unexpected code: 128.
stderr:
fatal: unable to read 4125eae329388751cb41f8ce0411813fd417a72d

2020-12-14T20:38:45.479Z - info: [ui] [Timing] Action ‘create commit’ for ‘Haunted-House-AR’ took 0.487s
2020-12-14T20:39:14.254Z - error: [ui] git reset -- . exited with an unexpected code: 128.
stderr:
fatal: unable to read 4125eae329388751cb41f8ce0411813fd417a72d

2020-12-14T20:39:14.276Z - info: [ui] [Timing] Action ‘create commit’ for ‘Haunted-House-AR’ took 0.444s
2020-12-14T22:13:16.118Z - info: [ui] ensureNoUndefinedParentID: 0
2020-12-14T22:13:16.120Z - info: [ui] [AppStore] loading 1 repositories from store
2020-12-14T22:13:16.120Z - info: [ui] [AppStore] found account: IrfanZ0 (IrfanZ0)
2020-12-14T22:13:17.948Z - info: [ui] Executing getRemotes: git remote -v (took 1.917s)
2020-12-14T22:13:19.432Z - info: [ui] launching: 2.6.1 (Windows 10.0.19042)
2020-12-14T22:13:19.433Z - info: [ui] execPath: ‘C:\Users\iziau\AppData\Local\GitHubDesktop\app-2.6.1\GitHubDesktop.exe’
2020-12-14T22:13:19.531Z - info: [ui] Executing getStatus: git --no-optional-locks status --untracked-files=all --branch --porcelain=2 -z (took 2.981s)
2020-12-14T22:13:19.564Z - info: [ui] Executing getStatus: git --no-optional-locks status --untracked-files=all --branch --porcelain=2 -z (took 2.913s)
2020-12-14T22:13:20.856Z - info: [ui] Executing installGlobalLFSFilter: git lfs install --skip-repo (took 2.006s)
2020-12-14T22:27:58.744Z - info: [ui] [AppStore] adding repository at C:\Users\iziau\Github\Haunted House AR to store
2020-12-14T22:28:01.660Z - info: [ui] Executing isUsingLFS: git lfs track (took 2.624s)
2020-12-14T22:33:08.416Z - info: [ui] Executing getCommits: git log HEAD --date=raw --max-count=100 --pretty=%H%x1F%h%x1F%s%x1F%b%x1F%an <%ae> %ad%x1F%cn <%ce> %cd%x1F%P%x1F%(trailers:unfold,only)%x1F%D -z --no-show-signature --no-color – (took 2.691s)
2020-12-14T22:33:10.253Z - info: [ui] Executing getConfigValueInPath: git config -z trailer.separators (took 1.836s)
2020-12-14T22:33:12.403Z - info: [ui] Executing getChangedFiles: git log 8d918d2ee98a78ce417c488b305dda5abb33e352 -C -M -m -1 --no-show-signature --first-parent --name-status --format=format: -z – (took 2.143s)
2020-12-14T22:33:16.331Z - info: [ui] Executing getCommitDiff: git log 8d918d2ee98a78ce417c488b305dda5abb33e352 -m -1 --first-parent --patch-with-raw -z --no-color – .gitattributes (took 3.926s)
2020-12-14T22:33:39.958Z - info: [main] Received possible protocol arguments: 2
2020-12-14T22:33:39.968Z - error: [main] Malformed launch arguments received: C:\Users\iziau\AppData\Local\GitHubDesktop\app-2.6.1\GitHubDesktop.exe,–allow-file-access-from-files
2020-12-14T22:33:45.615Z - info: [ui] [AppStore] loading 1 repositories from store
2020-12-14T22:33:45.617Z - info: [ui] [AppStore] found account: IrfanZ0 (IrfanZ0)
2020-12-14T22:33:48.583Z - info: [ui] Executing getRemotes: git remote -v (took 2.899s)
2020-12-14T22:33:52.045Z - info: [ui] launching: 2.6.1 (Windows 10.0.19042)
2020-12-14T22:33:52.047Z - info: [ui] execPath: ‘C:\Users\iziau\AppData\Local\GitHubDesktop\app-2.6.1\GitHubDesktop.exe’
2020-12-14T22:33:56.420Z - info: [ui] Executing installGlobalLFSFilter: git lfs install --skip-repo (took 7.683s)
2020-12-14T22:42:44.519Z - info: [ui] Executing getStatus: git --no-optional-locks status --untracked-files=all --branch --porcelain=2 -z (took 549.611s)
2020-12-14T22:42:44.520Z - info: [ui] Executing getStatus: git --no-optional-locks status --untracked-files=all --branch --porcelain=2 -z (took 255.645s)
2020-12-14T22:42:44.520Z - info: [ui] Executing getStatus: git --no-optional-locks status --untracked-files=all --branch --porcelain=2 -z (took 255.471s)
2020-12-14T22:42:44.520Z - info: [ui] Executing getStatus: git --no-optional-locks status --untracked-files=all --branch --porcelain=2 -z (took 304.046s)
2020-12-14T22:42:44.520Z - info: [ui] Executing getStatus: git --no-optional-locks status --untracked-files=all --branch --porcelain=2 -z (took 299.504s)
2020-12-14T22:42:47.574Z - info: [ui] Executing getWorkingDirectoryDiff: git diff --no-ext-diff --patch-with-raw -z --no-color HEAD – .gitignore (took 1.042s)
2020-12-14T22:42:47.574Z - info: [ui] Executing getWorkingDirectoryDiff: git diff --no-ext-diff --patch-with-raw -z --no-color HEAD – .gitignore (took 1.201s)
2020-12-14T22:42:47.574Z - info: [ui] Executing getWorkingDirectoryDiff: git diff --no-ext-diff --patch-with-raw -z --no-color HEAD – .gitignore (took 1.337s)
2020-12-14T22:42:47.865Z - info: [ui] Executing getBranches: git for-each-ref --format=%(refname)%00%(refname:short)%00%(upstream:short)%00%(objectname)%00%(objectname:short)%00%(author)%00%(committer)%00%(symref)%00%1F refs/heads refs/remotes (took 1.028s)
2020-12-14T22:42:47.866Z - info: [ui] Executing getRecentBranches: git log -g --no-abbrev-commit --pretty=oneline HEAD -n 2500 – (took 1.010s)
2020-12-14T22:42:47.866Z - info: [ui] Executing getBranches: git for-each-ref --format=%(refname)%00%(refname:short)%00%(upstream:short)%00%(objectname)%00%(objectname:short)%00%(author)%00%(committer)%00%(symref)%00%1F refs/heads refs/remotes (took 1.605s)
2020-12-14T22:42:47.867Z - info: [ui] Executing getRecentBranches: git log -g --no-abbrev-commit --pretty=oneline HEAD -n 2500 – (took 1.588s)
2020-12-14T22:42:47.867Z - info: [ui] Executing getRecentBranches: git log -g --no-abbrev-commit --pretty=oneline HEAD -n 2500 – (took 1.759s)
2020-12-14T22:42:47.868Z - info: [ui] Executing getBranches: git for-each-ref --format=%(refname)%00%(refname:short)%00%(upstream:short)%00%(objectname)%00%(objectname:short)%00%(author)%00%(committer)%00%(symref)%00%1F refs/heads refs/remotes (took 1.774s)
2020-12-14T22:42:51.342Z - info: [ui] Executing getRemotes: git remote -v (took 2.176s)
2020-12-14T22:42:51.343Z - info: [ui] Executing getCommits: git log HEAD --date=raw --max-count=100 --pretty=%H%x1F%h%x1F%s%x1F%b%x1F%an <%ae> %ad%x1F%cn <%ce> %cd%x1F%P%x1F%(trailers:unfold,only)%x1F%D -z --no-show-signature --no-color --not --remotes – (took 2.046s)
2020-12-14T22:42:51.343Z - info: [ui] Executing getConfigValueInPath: git config -z trailer.separators (took 2.444s)
2020-12-14T22:42:51.548Z - info: [ui] Executing getCommits: git log HEAD --date=raw --max-count=100 --pretty=%H%x1F%h%x1F%s%x1F%b%x1F%an <%ae> %ad%x1F%cn <%ce> %cd%x1F%P%x1F%(trailers:unfold,only)%x1F%D -z --no-show-signature --no-color --not --remotes – (took 2.398s)
2020-12-14T22:42:51.548Z - info: [ui] Executing getRemotes: git remote -v (took 2.216s)
2020-12-14T22:42:51.548Z - info: [ui] Executing getAuthorIdentity: git var GIT_AUTHOR_IDENT (took 2.265s)
2020-12-14T22:42:51.548Z - info: [ui] Executing getAuthorIdentity: git var GIT_AUTHOR_IDENT (took 2.190s)
2020-12-14T22:42:51.549Z - info: [ui] Executing getCommits: git log HEAD --date=raw --max-count=100 --pretty=%H%x1F%h%x1F%s%x1F%b%x1F%an <%ae> %ad%x1F%cn <%ce> %cd%x1F%P%x1F%(trailers:unfold,only)%x1F%D -z --no-show-signature --no-color --not --remotes – (took 2.300s)
2020-12-14T22:42:51.549Z - info: [ui] Executing getRemotes: git remote -v (took 2.288s)
2020-12-14T22:42:51.549Z - info: [ui] Executing getStashEntries: git log -g -z --pretty=%gD%x1F%H%x1F%gs refs/stash (took 2.334s)
2020-12-14T22:42:51.647Z - info: [ui] Executing getStashEntries: git log -g -z --pretty=%gD%x1F%H%x1F%gs refs/stash (took 2.303s)
2020-12-14T22:42:51.680Z - info: [ui] Executing getStashEntries: git log -g -z --pretty=%gD%x1F%H%x1F%gs refs/stash (took 2.408s)
2020-12-14T22:42:51.761Z - info: [ui] Executing getConfigValueInPath: git config -z trailer.separators (took 2.637s)
2020-12-14T22:42:51.831Z - info: [ui] Executing getAuthorIdentity: git var GIT_AUTHOR_IDENT (took 2.600s)
2020-12-14T22:46:48.255Z - info: [ui] Executing getWorkingDirectoryDiff: git diff --no-ext-diff --patch-with-raw -z --no-color HEAD – .gitignore (took 242.176s)
2020-12-14T22:48:13.542Z - info: [ui] Executing fetch: git -c credential.helper= -c protocol.version=2 fetch --progress --prune origin (took 8.997s)
2020-12-14T22:53:32.677Z - info: [ui] Executing fetch: git -c credential.helper= -c protocol.version=2 fetch --progress --prune origin (took 4.708s)
2020-12-14T22:58:47.912Z - info: [ui] Executing fetch: git -c credential.helper= -c protocol.version=2 fetch --progress --prune origin (took 1.936s)
2020-12-14T23:04:02.898Z - info: [ui] Executing fetch: git -c credential.helper= -c protocol.version=2 fetch --progress --prune origin (took 1.820s)
2020-12-14T23:09:18.471Z - info: [ui] Executing fetch: git -c credential.helper= -c protocol.version=2 fetch --progress --prune origin (took 2.222s)
2020-12-14T23:14:34.132Z - info: [ui] Executing fetch: git -c credential.helper= -c protocol.version=2 fetch --progress --prune origin (took 2.230s)
2020-12-14T23:19:50.290Z - info: [ui] Executing fetch: git -c credential.helper= -c protocol.version=2 fetch --progress --prune origin (took 1.896s)
2020-12-14T23:25:05.851Z - info: [ui] Executing fetch: git -c credential.helper= -c protocol.version=2 fetch --progress --prune origin (took 2.411s)
2020-12-14T23:30:20.893Z - info: [ui] Executing fetch: git -c credential.helper= -c protocol.version=2 fetch --progress --prune origin (took 1.854s)
2020-12-14T23:35:37.334Z - info: [ui] Executing fetch: git -c credential.helper= -c protocol.version=2 fetch --progress --prune origin (took 2.957s)
2020-12-14T23:40:52.501Z - info: [ui] Executing fetch: git -c credential.helper= -c protocol.version=2 fetch --progress --prune origin (took 1.885s)
2020-12-14T23:46:07.439Z - info: [ui] Executing fetch: git -c credential.helper= -c protocol.version=2 fetch --progress --prune origin (took 1.894s)
2020-12-14T23:51:23.030Z - info: [ui] Executing fetch: git -c credential.helper= -c protocol.version=2 fetch --progress --prune origin (took 2.447s)
2020-12-14T23:56:38.419Z - info: [ui] Executing fetch: git -c credential.helper= -c protocol.version=2 fetch --progress --prune origin (took 1.798s)

Doing ‘git fsck’ shows the following:

Checking object directories: 100% (256/256), done.
error: ae58d5842faf94a238a12971f6aa6dfa94c996cc: invalid sha1 pointer in cache-tree
broken link from commit 8d918d2ee98a78ce417c488b305dda5abb33e352
to tree f51d2415f090557b5906eff0d5968e595a5891a9
missing blob 03802398200a75af81443c3539366a2ddcc6515b
missing blob 0400288de0bb74453a0211c72a269f9f9da3c32c
missing blob 06003d14d3866d6aae9f818b36ccb77c152dd63e
missing blob 0880c1baf8cfe77e711ad05608bd086f6a51bcbf
missing blob 10001989a545dc19638bf6a78440d4263697f516
missing blob 1000474288cb2a887a8b64b2fa553c90b36ff029
missing blob 168061624f889dd85c03d6921ab7a5ddf2779a2c
missing blob 160084ec211ba0827adc81f2e94853bf38b394d9
missing blob 1800cc16de5161dd9bd3c8f7fd6c42b2ff062164
missing blob 1d804a4274675bb1ce02f37dd8d4f0482ef0dd0f
missing blob 2400315cafc1326f7ffabbaf75b77410ef695485
missing blob 27807a55cf1dc2ff1ed7da921eca6b221361f35f
missing blob 280056dd3b16a7c0681ecb7dfd7f06df6a8dad59
missing blob 2980af98d485d7ed31bd3e6facd6477d780422e9
missing blob 2c002d8a785687d7c3889120cac4bab206336d32
missing blob 3380fa238bba7be54500669c70c35d7ce7f9865a

I copied and pasted a portion of the fsck because it was crazy long.

Now I’m getting a 'Can’t find “Haunted House AR”, message. I’ve tried to relocate the project to Github desktop and still it shows up

@IrfanZ0 unfortunately it looks like your local repository is corrupted. We can attempt to repair the local repository, but it would require a backup that could be used to restore the corrupt object. If you have not made a large number of commits you could also delete the .git directory and start a fresh repository. This would leave your local files in their current state – you would only lose the history of the repository.

I think by deleting git folder, and then clicking ‘Open in Desktop’ did the trick. Now I have one more question. My project that I’m trying to send is a Unity project. Would I be able to publish the entire project of 9153 files or would it time out and stop?

For a Unity project you may run into issues with large files. GitHub will block any files over 100MB, but GitHub Desktop will warn you before you attempt to commit these large files. If your total push size is over 2GB you will also encounter a remote: fatal: pack exceeds maximum allowed size error.

I would recommend looking into using Git LFS, which allows you to version large files outside of your main Git repository. GitHub Desktop includes Git LFS – you just need to configure the tracked files. See this guide for more information. If you have any questions about getting this configured let me know.