Issue with git lfs #123294
Unanswered
siddhsql
asked this question in
Repositories
Issue with git lfs
#123294
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Question
Body
I was using git lfs for the first time and I think I made a mistake using this tool. I was working on a local feature branch. I ran following on this branch:
and I kept working on this branch for many days and accumulated many commits. When the feature was code complete, I started an interactive rebase to squash my changes into 1 commit:
This is when I got an error. The log has this message:
It is true this object does not exist on the server. I am not sure if it is my mistake but it shouldn't be trying to download an object that has not been pushed in the first place. I somehow managed to continue with the rebase. I don't remember the exact steps I followed but most likely I did a combination of:
.gitignore
to ignore the large files being tracked by git lfsgit config lfs.allowincompletepush true
after this I was able to push to my remote on github. but now I cannot push the lfs file no matter what I do. I keep getting errors:
how can I fix this?
when I see something like:
does it mean the contents of
.git
are identical across my local and remote? what is the way out? do I have to contact someone in GitHub?Beta Was this translation helpful? Give feedback.
All reactions