I'm working on a static website that I'd like to version using Mercurial.
However, I want to handle images and libraries (e.g. jQuery, Bootstrap, etc.) specially.
Specifically, I want Mercurial to store these files, but not track their changes.
For example: If I push an update to an image file, the updated image should simply clobber the version on the server. I don't want Mercurial to bother diffing or storing deltas. So as far as the version control system is concerned, the file should always remain at version 1. Also, if I delete an image file from source control it should be gone forever.
Is there a way to do this? Is this a good approach for handling images and libraries?
Aucun commentaire:
Enregistrer un commentaire