-
Notifications
You must be signed in to change notification settings - Fork 2k
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
git lfs migrate info
fails with "bad revision"
#2450
Comments
I am unable to reproduce this:
Can you retry this with |
I suspect that's specific to git version.
so it doesn't provide any info either. |
Are there any files in this repo that are larger than the default minimum size requirement of 1mb? From
|
I see. Probably not. |
@jjgod I am going to close this for now, since I am unable to reproduce the failure on Git 2.13.2, even after changing my local Git installation to match. If you find any more details or ways to reproduce this reliably, please don't hesitate to reopen this. Thanks! |
Thanks for look into this! |
Hey @ttaylorr , reviving this as I hit the exact same problem.
So where to go from here? |
@guneyozsan Instead of deleting the tag, I ran |
@TravisHeeter Thank you. I reached a similar solution and did This also moves the tags to the rewritten history. So I had to delete all tags from remote and perform a force push. Unfortunately there is a huge information pollution on how to implement git-lfs to a repository with already commited large files. I think it is due to lack of clarity and focus on documentation (or accessibility of it as the last thing I came across online was the official documentation of After starting this command I was horrified to unexpectedly see all tags and branches being rewritten history without a warning. Especially considering BFG's quite informative and cautious documentation, I just thought git-lfs lacks necessary amount of guidance and warnings about the consequences. For anyone the examples on the official documentation of |
@TravisHeeter Although I resolved it locally with I totally understand your note "More Horror" on stackoverflow link. Anyway thanks a lot. |
Hitting this with git 2.32.0 / git-lfs/3.1.2 |
Hitting this in git 2.38.0 and lfs git-lfs/3.2.0 |
If you're seeing this, please follow the directions in the contributing documentation and open a new issue. Commenting on a closed issue is not helpful, since the issue you're seeing has a different root cause from the one fixed here. |
The text was updated successfully, but these errors were encountered: