Can't git clone code-server
See original GitHub issueOS/Web Information
- Web Browser: Chrome, but N/A
- Local OS: Debian
- Remote OS: N/A
- Remote Architecture: N/A
code-server --version
: N/A
Steps to Reproduce
git clone git@github.com:cdr/code-server.git
Expected
the repository should be fully cloned without error
Actual
Cloning into 'code-server'...
remote: Enumerating objects: 2312, done.
remote: Counting objects: 100% (2312/2312), done.
remote: Compressing objects: 100% (1727/1727), done.
remote: Total 30415 (delta 459), reused 2280 (delta 442), pack-reused 28103
Receiving objects: 100% (30415/30415), 41.79 MiB | 23.91 MiB/s, done.
Resolving deltas: 100% (16240/16240), done.
git-lfs filter-process: line 1: git-lfs: command not found
fatal: the remote end hung up unexpectedly
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'
Notes
This issue can be reproduced in VS Code: No
Issue Analytics
- State:
- Created 2 years ago
- Comments:13 (3 by maintainers)
Top Results From Across the Web
Can't git clone code-server · Issue #3091 - GitHub
Follow up: I can run yarn install even after this error (but doubt I''ll be able to submit any PRs to this repo)....
Read more >git - Cloning private repository into code-server - Stack Overflow
I've set up a private repository on Github and connected code-server to Github. From code-server I can clone public repositories, ...
Read more >Getting Git on a Server
In order to clone your repository to create a new bare repository, you run the clone command with the --bare option. By convention,...
Read more >Remote Development Tips and Tricks - Visual Studio Code
The Remote - SSH extension installs and maintains the "VS Code Server". ... If you clone a Git repository using SSH and your...
Read more >Cloning the Remote Repository Into a Production Environment ...
Clone Repo to Server · On the BitBucket page, click "Repositories" and select the repo you want to clone. · Copy the SSH...
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 Free
Top 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
Hey there! 👋
Sorry about the challenges of getting a development environment set up for code-server, that’s definitely not the experience that we want. We’re working on making things better, and issues like yours help us with that, so thanks for sharing the feedback!
I’m not one of the primary maintainers for code-server, so I’m not entirely sure about it, but the git-lfs error looks like it’s because we’re using large file storage for something, so it looks like the existing repository expects it to be installed beforehand? Can you try running through these install steps and cloning again? https://git-lfs.github.com/
Also, if you haven’t seen it already, our contributor guide describes how to build, I think this runs things inside a Docker container to help reduce the environment issues.
Lastly I’d also like to welcome you to our Coder Community Slack: https://community.coder.com/ - in particular we have a #code-server channel and would love to discuss with you over there!
I’m sorry that you’re having these issues but we’d love to help you troubleshoot as we certainly value your contributions 😄
That makes sense! We can definitely do that.