Skip to content

git-remote-gcrypt

git-remote-gcrypt

export GPG_TTY=$(tty)


git init
git remote add cryptoremote gcrypt::git@github.com:USERNAME/REPO_NAME.git
gpg --list-keys
git config remote.cryptoremote.gcrypt-participants $KEY
git config remote.cryptoremote.gcrypt-signingkey $KEY
git add index.md
git commit -m "Plz be encrypted"
git pull cryptoremote master
git branch --set-upstream-to=cryptoremote/master master
git pull
git push -u cryptoremote master
git push --force -u cryptoremote master

# Remember to check size of files whahahahah

Sources