Skip to content

Instantly share code, notes, and snippets.

@wshino
Last active October 7, 2017 08:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wshino/6156a3979e2f4b9081140c20ca7171e9 to your computer and use it in GitHub Desktop.
Save wshino/6156a3979e2f4b9081140c20ca7171e9 to your computer and use it in GitHub Desktop.
Keybaseを使って暗号化 git repositoryを作ろう ref: http://qiita.com/wshino/items/494f44d8c6ea8b590c6b
git clone keybase://private/wshino/mogemoge
# 1. make the encrypted remote repo
keybase git create sbt-rpm
# 2. get your old stuff into a temp directory
git clone --mirror https://github.com/wshino/sbt-rpm _tmp.git
# 3. head north of the wall
cd _tmp.git
# 4. push onward, to Craster's keep
git push --mirror keybase://private/wshino/sbt-rpm
# 5. back to Winterfell; kill some boltons
cd .. && rm -rf _tmp.git
# 6. DONE. You can clone anywhere and find this repo in the Keybase app
git clone keybase://private/wshino/sbt-rpm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment