elasticdog / transcrypt

transparently encrypt files within a git repository
MIT License
1.44k stars 102 forks source link

Add --upgrade option to update a transcrypt'ed repo's scripts and configs #86

Closed jmurty closed 4 years ago

jmurty commented 4 years ago

Add new --upgrade option to automatically uninstall and re-init transcrypt to apply the latest scripts and configuration options, while keeping the existing cipher and password settings.

Also modify .gitattributes to add the recommended merge=crypt option for any existing transcrypt'ed files.

jmurty commented 4 years ago

Thanks @elasticdog, I have polished this feature a bit to: give users some feedback, require a confirmation by default, and fix a potential bug updating the gitattributes file.

jmurty commented 4 years ago

Cheers @elasticdog I'll merge it to master now to keep things moving