Could I put a certain file in some VCS like git/subversion/etc only "when" I am modifying it. So first I put the unmodified version & then the modified version. The desire is to put the file in VCS only when I want, rather than doing initial full directory commits.. Is this possible ?
I want to version some of the configuration files that I modify on my ubuntu server, but I wish not to do an initial full directory commit, rather i'm looking if it is possible to a add file to VCS just before I am modifying the file.. how could i achieve this ?
I'm aware of etckeeper but that is only for /etc & it does a initial full directory commit ? why do I do that.. i would rather only want to keep the files i modify & manually manage rather than autocommits at each install.