Skip to content

Commit

Permalink
Merge pull request #156 from theohbrothers/docs/readme-improve-submod…
Browse files Browse the repository at this point in the history
…ule-maintenance-section

Docs (readme): Improve submodule maintenance section
  • Loading branch information
joeltimothyoh authored Aug 5, 2024
2 parents c3816f4 + 1d36e35 commit f2501a1
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,21 +245,16 @@ In cases where the module needs to be tested across multiple operating systems a

Sample CI files demonstrating use of this approach can be found [here](docs/samples/ci/azure-pipelines).

### Managing the submodule
## Maintenance

#### Retrieving updates
### Submodule

To update the submodule:
#### Using a specific tag

```shell
# Update the submodule
git submodule update --remote build/PSModulePublisher
```

#### Using a specific tag

To use a specific tag of the submodule:

```shell
# Checkout ref to use
git --git-dir build/PSModulePublisher/.git checkout vx.x.x

Expand Down

0 comments on commit f2501a1

Please sign in to comment.