Need assistance converting GIT repo to github with LFS #200776
Replies: 2 comments
-
|
Thank you for your interest in contributing to our community! We currently only accept discussions created through the GitHub UI using our provided discussion templates. Please re-submit your discussion by navigating to the appropriate category and using the template provided. This discussion has been closed because it was not submitted through the expected format. If you believe this was a mistake, please reach out to the maintainers. |
Beta Was this translation helpful? Give feedback.
-
|
You can't use Option 1: Use git lfs migrate (recommended)
Option 2: If you need to preserve exact commit SHAs
The error "this operation must be run in a work tree" happened because you tried track/migrate in a bare mirror clone. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I inherited a server running git 2.52 with very old repo. I need to convert to github servedr on our internal network.
The repo has a couple dozen files that exceed the 200 MB file limitation on github.
Can someone give me the best procedure / path to convert?
On a client PC, I performed a git clone --mirror.
ran "git lfs install"
When I attempt push, i get the file exceed errors.
I tried "git lfs track "*.cvs" and i keep getting error "fatal: this operation must be run in a work tree"
Shall i just attempt normal clone?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions