C
C
cicatrix2017-10-13 21:50:42
git
cicatrix, 2017-10-13 21:50:42

How to clean the git repository from unnecessary binaries?

When I started developing the project, I didn’t fill in .gitignore for a very long time.
As a result, a bunch of binaries accumulated in the repository, which only take up space.
Is it possible, after saving the history of commits, to throw out all dll, exe and obj from the repository?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Igor Vorotnev, 2017-10-13
@cicatrix

git rm --cached file1.exe file2.exe file3.exe

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question