S
S
sddvxd2018-04-17 18:47:57
git
sddvxd, 2018-04-17 18:47:57

Why, after deleting a file from the local repository, GitHub writes an error with the presence of this file?

Hello! After github wrote to me that files larger than 100 mb would not be accepted, I decided to remove them from the repository with the rm
command . After that, I again tried to send the repository to github - he answered me the same way, he also does not accept files that By the way, I even made it to gitignore.
A repeated attempt to delete files comes down to the fact that I am told that such files are no longer indexed. After deleting, I made a commit, there is only one branch

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stanislav Makarov, 2018-04-17
@Nipheris

Apparently the files are in history? (it occurred to you to commit them). Do an interactive rebase or otherwise clean up the history.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question