summaryrefslogtreecommitdiffstats
path: root/retiolum/doc
diff options
context:
space:
mode:
Diffstat (limited to 'retiolum/doc')
-rw-r--r--retiolum/doc/git_checkout_only_hosts17
1 files changed, 11 insertions, 6 deletions
diff --git a/retiolum/doc/git_checkout_only_hosts b/retiolum/doc/git_checkout_only_hosts
index 6deede29..2286169d 100644
--- a/retiolum/doc/git_checkout_only_hosts
+++ b/retiolum/doc/git_checkout_only_hosts
@@ -1,6 +1,11 @@
-git init painload
-cd painload
-git remote add -f origin https://github.com/krebscode/painload.git
-git config core.sparsecheckout true
-echo retiolum/hosts/ >> .git/info/sparse-checkout
-git pull origin master
+# Reference
+http://jasonkarns.com/blog/subdirectory-checkouts-with-git-sparse-checkout/
+
+# Code
+
+ git init painload
+ cd painload
+ git remote add -f origin https://github.com/krebscode/painload.git
+ git config core.sparsecheckout true
+ echo retiolum/hosts/ >> .git/info/sparse-checkout
+ git pull origin master