From d040bce996bb2f4c235b028b1b4f4da24052892e Mon Sep 17 00:00:00 2001 From: Paraplegic Racehorse Date: Thu, 5 Jan 2017 09:41:01 -0900 Subject: [PATCH] 020_install.md + user-local option and hints on how to keep yadm in the yadm repository as a submodule. --- _docs/020_install.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/_docs/020_install.md b/_docs/020_install.md index 9c38bc3..d1c2fc6 100644 --- a/_docs/020_install.md +++ b/_docs/020_install.md @@ -55,3 +55,15 @@ You *can* simply download the **yadm** script and put it into your `$PATH`. Some ``` curl -fLo /usr/local/bin/yadm https://github.com/TheLocehiliosan/yadm/raw/master/yadm && chmod a+x /usr/local/bin/yadm ``` + +or this if you don't want to clutter your system files: + +``` +curl -fLo ~/bin/yadm https://github.com/TheLocehiliosan/yadm/raw/master/yadm && chmod +x ~/bin/yadm +``` + +You can then, if you wish, add the **yadm** repository to your repository as a submodule. +Doing this is beyond this documentation, but you can get a start by reading the +[git-submodule](https://git-scm.com/docs/git-submodule) +man page; +or Stack-Overflow has a [useful resource](https://stackoverflow.com/questions/9035895/how-do-i-add-a-submodule-to-a-sub-directory)