20120809

Temporarily ignoring files

There is a lot of times that you want to ignore a file that was already committed in your git repo:
git update-index --assume-unchanged <file>
when you want to rollback this and start tracking changes again:
git update-index --no-assume-unchanged <file>
Read more about this: http://gitready.com/intermediate/2009/02/18/temporarily-ignoring-files.html


No hay comentarios.:

Publicar un comentario