1
0
Fork 0
mirror of synced 2024-12-22 06:31:07 -05:00

020_install.md + user-local option

and hints on how to keep yadm in the yadm repository as a submodule.
This commit is contained in:
Paraplegic Racehorse 2017-01-05 09:41:01 -09:00 committed by GitHub
parent 443e3d8f04
commit d040bce996

View file

@ -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)