Last active
October 7, 2017 08:22
-
-
Save wshino/6156a3979e2f4b9081140c20ca7171e9 to your computer and use it in GitHub Desktop.
Keybaseを使って暗号化 git repositoryを作ろう ref: http://qiita.com/wshino/items/494f44d8c6ea8b590c6b
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone keybase://private/wshino/mogemoge |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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