Skip to content

Commit

Permalink
Merge pull request #24 from nextstrain/git-subrepo-force
Browse files Browse the repository at this point in the history
README: Update `git subrepo pull` with `--force` flag
  • Loading branch information
joverlee521 authored Oct 3, 2023
2 parents c02fa81 + fb8b17d commit 7617c39
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ Any future updates of ingest scripts can be pulled in with:
git subrepo pull ingest/vendored
```

If you run into merge conflicts and would like to pull in a fresh copy of the
latest ingest scripts, pull with the `--force` flag:

```
git subrepo pull ingest/vendored --force
```

> **Warning**
> Beware of rebasing/dropping the parent commit of a `git subrepo` update
Expand Down

0 comments on commit 7617c39

Please sign in to comment.