Dieses Blog durchsuchen

Samstag, 15. Oktober 2016

git: add a commited file to .gitignore

Everyones, how anoying it is to have files in the remote repository, which has to be on the .gitignorelist.

Git simply ignores every .gitignore entry, wich was committed already.

Here is a simple trick wich helps you out

git update-index --assume-unchanged <filename> 


Keine Kommentare:

Kommentar veröffentlichen