diff options
author | Lassulus <lassulus@googlemail.com> | 2012-12-10 01:13:19 +0100 |
---|---|---|
committer | Lassulus <lassulus@googlemail.com> | 2012-12-10 01:13:19 +0100 |
commit | f64da1f8c0531bb72f1917e29d365fe888e1df31 (patch) | |
tree | 654e0d95556524c8947ff2b0b766b58435a5e03a /retiolum/doc/git_checkout_only_hosts | |
parent | 88b6956f32ed74be82a401a7716398a622a9042f (diff) | |
parent | 0cb539ed99e1b43f0098ebce82e8b913cc38f256 (diff) |
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'retiolum/doc/git_checkout_only_hosts')
-rw-r--r-- | retiolum/doc/git_checkout_only_hosts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/retiolum/doc/git_checkout_only_hosts b/retiolum/doc/git_checkout_only_hosts new file mode 100644 index 00000000..2286169d --- /dev/null +++ b/retiolum/doc/git_checkout_only_hosts @@ -0,0 +1,11 @@ +# 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 |