Repository navigation
Closed
Labels
more-info-neededThe submitter needs to provide more information about the issue
Description
Describe the bug
I'm trying to use GH Desktop to clone a (private) repository which has LFS enabled (using Netlify's LFS service). After selecting the desired repo from my account and cloning it, the progress bar hangs forever without giving any useful output or error message. I thought that there would be some kind of prompt to install Git-LFS locally.
Version & OS
GH Desktop Version 2.4.2
Mac OS Catalina 10.15.4
For what it's worth, I'm attempting this on what is basically a clean install of Catalina; I have not installed Git LFS or any other git-related command line tools on the machine yet.
Steps to reproduce the behavior
- Clone an existing repository which has LFS enabled
- The process never completes and there is no error message or other info
Expected behavior
Expected the repository to clone successfully, or maybe to see a prompt to install Git LFS (it is not currently installed).
Actual behavior
Repository hangs forever on clone.
Screenshots
Logs
2020-04-26T22:23:51.787Z - info: [ui] [AppStore] loading 0 repositories from store
2020-04-26T22:23:51.955Z - info: [ui] [Welcome] no sign in step found. ignoring...
2020-04-26T22:23:51.959Z - info: [ui] [Welcome] no sign in step found. ignoring...
2020-04-26T22:23:52.137Z - info: [ui] Opt in reported.
2020-04-26T22:23:52.400Z - info: [ui] launching: 2.4.2 (Mac OS 10.15.4)
2020-04-26T22:23:52.400Z - info: [ui] execPath: '/Applications/GitHub Desktop.app/Contents/Frameworks/GitHub Desktop Helper (Renderer).app/Contents/MacOS/GitHub Desktop Helper (Renderer)'
2020-04-26T22:23:52.413Z - info: [ui] [Welcome] no sign in step found. ignoring...
2020-04-26T22:23:52.434Z - info: [ui] [Welcome] no sign in step found. ignoring...
2020-04-26T22:23:55.421Z - info: [ui] [Welcome] advancing to step: SignInToDotCom
2020-04-26T22:23:55.424Z - info: [ui] [Welcome] current sign in state not found. ignoring...
2020-04-26T22:24:15.283Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2020-04-26T22:24:26.777Z - info: [ui] [Welcome] kind TwoFactorAuthentication is the same as TwoFactorAuthentication. ignoring...
2020-04-26T22:24:27.501Z - info: [ui] [AppStore] adding account egardner (Eric Gardner) to store
2020-04-26T22:24:27.509Z - info: [ui] [Welcome] advancing to step: ConfigureGit
2020-04-26T22:24:27.592Z - info: [ui] [Welcome] no sign in step found. ignoring...
2020-04-26T22:24:29.699Z - info: [ui] [Welcome] no sign in step found. ignoring...
2020-04-26T22:24:34.041Z - info: [ui] [Welcome] advancing to step: UsageOptOut
2020-04-26T22:24:36.906Z - info: [ui] Opt out reported.
2020-04-26T22:24:36.923Z - info: [ui] [Welcome] no sign in step found. ignoring...
2020-04-26T22:25:30.889Z - info: [ui] [AppStore.getAccountForRemoteURL] account found for remote: https://github.com/egardner/sjma-50x50.git - egardner (has token)
Metadata
Metadata
Assignees
Labels
more-info-neededThe submitter needs to provide more information about the issue

Activity
[-]GH Desktop hangs forever when attempting to clone a ifs-enabled repo[/-][+]GH Desktop hangs forever when attempting to clone a lfs-enabled repo[/+]egardner commentedon Apr 26, 2020
Another bit of information here:
After quitting out of GH Desktop, a local copy of the repo does indeed exist on my hard drive. But it's in a somewhat disordered state: lots of unstaged changes even though the working tree should be clean after cloning from
origin.Attempting to stash the local changes produced this error message from git:
So it looks like some process is crashing silently on the initial clone step, leaving things in a bit of a mess.
tierninho commentedon Apr 28, 2020
@egardner thank you for the issue! The error you mentioned is the issue:
This often happens when Git crashes unexpectedly. What you will want to do to resolve this is go to the hidden .git directory show in the error message and delete the index.lock file located there. You will need to enable viewing hidden files and folders on Windows. After deleting that index.lock file you should be able to use GitHub Desktop again.
Let me know if you run into any further issues and we'd be happy to take a look.
egardner commentedon Apr 28, 2020
Thanks, @tierninho – I was able to remove the file and eventually got things working in the terminal, but the underlying issue about not being able to see any useful error message from the GUI still seemed worth flagging here.
tierninho commentedon Apr 28, 2020
Thanks for the update. Glad everything is back in order! I will add your comments to an existing issue for improvements to the lock file.