Skip to content

Commit

Permalink
Updates instructions for resetting submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
matsduf committed Oct 17, 2022
1 parent 561276b commit 718ce02
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ git -C zonemaster-cli checkout origin/master
Make sure repositories are clean and create `Makefile` in all three repositories

```sh
(cd zonemaster-ldns; git submodule update; git clean -dfx; git reset --hard; perl Makefile.PL --no-internal-ldns)
(cd zonemaster-ldns ; git submodule deinit -f . ; git submodule update --init --recursive ; git clean -dfx ; git reset --hard ; perl Makefile.PL --no-internal-ldns)
```
> Ubuntu 22.04 does not currently have support for internal LDNS.
```sh
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ the `develop` branch and that your clone is up-to-date.

For Zonemaster-LDNS only - reset submodule (LDNS):

git submodule update
git submodule deinit -f .
git submodule update --init --recursive

Make sure your working directory is clean.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ Makefile.PL must be updated.
2. Check out the `develop` branch.
```
git checkout origin/develop
git submodule update # Zonemaster-LDNS only
git submodule deinit -f . # Zonemaster-LDNS only
git submodule update --init --recursive # Zonemaster-LDNS only
```
3. Run
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,8 @@ git fetch --all
git branch
```
```
git submodule update # Zonemaster-LDNS only
git submodule deinit -f . # Zonemaster-LDNS only
git submodule update --init --recursive # Zonemaster-LDNS only
```
```
git status --ignored
Expand Down

0 comments on commit 718ce02

Please sign in to comment.