mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-11 16:39:00 +00:00
update doc on updating dotdrop when used as a submodule
This commit is contained in:
@@ -478,13 +478,18 @@ Also `compare` won't work on dotfiles using transformations.
|
|||||||
|
|
||||||
If used as a submodule, update it with
|
If used as a submodule, update it with
|
||||||
```bash
|
```bash
|
||||||
$ git submodule foreach git pull origin master
|
$ git submodule update --init --recursive
|
||||||
|
$ git submodule update --remote dotdrop
|
||||||
|
```
|
||||||
|
|
||||||
|
You will then need to commit the changes with
|
||||||
|
```bash
|
||||||
$ git add dotdrop
|
$ git add dotdrop
|
||||||
$ git commit -m 'update dotdrop'
|
$ git commit -m 'update dotdrop'
|
||||||
$ git push
|
$ git push
|
||||||
```
|
```
|
||||||
|
|
||||||
Through pypi:
|
Or if installed through pypi:
|
||||||
```bash
|
```bash
|
||||||
$ sudo pip3 install dotdrop --upgrade
|
$ sudo pip3 install dotdrop --upgrade
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ sub="dotdrop"
|
|||||||
cd "${cur}" || { echo "Directory \"${cur}\" doesn't exist, aborting." && exit; }
|
cd "${cur}" || { echo "Directory \"${cur}\" doesn't exist, aborting." && exit; }
|
||||||
# init/update the submodule
|
# init/update the submodule
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
|
git submodule update --remote dotdrop
|
||||||
# launch dotdrop
|
# launch dotdrop
|
||||||
PYTHONPATH=dotdrop python3 -m dotdrop.dotdrop "${args[@]}"
|
PYTHONPATH=dotdrop python3 -m dotdrop.dotdrop "${args[@]}"
|
||||||
# pivot back
|
# pivot back
|
||||||
|
|||||||
Reference in New Issue
Block a user