summaryrefslogtreecommitdiffstats
path: root/retiolum/doc/git_checkout_only_hosts
diff options
context:
space:
mode:
authoreuer <root@euer.krebsco.de>2012-12-09 21:15:36 +0100
committereuer <root@euer.krebsco.de>2012-12-09 21:15:36 +0100
commit8531144be708527ff1543cfa37248e8433d3eb2c (patch)
treeab4b23e4ee582461138bf28a6fd091f8f26e597e /retiolum/doc/git_checkout_only_hosts
parent05b4a12ae3249cc8197506f59fa85e2181226af4 (diff)
add reference to checkout_tutorial
Diffstat (limited to 'retiolum/doc/git_checkout_only_hosts')
-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