Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When setting up a new machine... #67

Open
mattjmorrison opened this issue May 12, 2020 · 0 comments
Open

When setting up a new machine... #67

mattjmorrison opened this issue May 12, 2020 · 0 comments

Comments

@mattjmorrison
Copy link
Owner

https://stackoverflow.com/a/11357708

download the zip/tarball propose by GitHub
git clone --bare the GitHub repo (so no checkout: it may be easier with your shaky connection)
move the xxx.git directory (renaming it '.git') created by the clone into the uncompressed repo content from step 1.
remove the bare attribute in the .git moved directory: git config --bool core.bare false

If a clone --bare doesn't work, then this approach would not be useful.
And a restartable clone (which was considered in 2009, even formalized as a SoC) isn't yet a reality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant