shadowhand / git-encrypt

Transparent Git Encryption

Home Page:https://gist.github.com/873637

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature - gitcrypt commands

mintbridge opened this issue · comments

I think adding a couple of "setup" commands would be quite useful, just as a shortcut to manually editing .gitattributes and or .gitconfig. As an example - https://github.com/nvie/gitflow does this quite nicely

gitcrypt init:
It could ask for/set up the salt and passphrase, then add them to git config and also map the encrypt filter.

gitcrypt add:
add the pattern format to the encryption filter

gitcrypt remove:
remove the pattern format from the encryption filter

Upvoted. I wrote my own bash scripts for setting up the repo for checkout but I would love to see it integrated here.

Updated gitcrypt to version 0.2.0, added "gitcrypt init" command for interactive setup, updated README

Closed by fb4b25e7853f967c01ae2993065a3e89965bab11