Skip to content

"There was an error pushing commits to GitHub" for LFS-enabled repo #21646

Discussion options

You must be logged in to vote

👋 Welcome!

Yes - this is a known issue, and I’ve just added this to the issue so we can document it better.

Our import tool is more for importing from other version control systems than it is for git repositories. As such, it doesn’t know what to do with lfs in the origin repository.

It can recognise there are large files to handle with lfs, but when those large files are already handled as lfs in the origin repository, it all falls down.

It’s probably far simpler to clone the repository to your local system and then push it as a new repository in your GitHub account.

This article here might help:

docs.github.com

Duplicating a repository - GitHub Docs

//docs.github.com/en/github/creatin…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants