Skip to content

Commit

Permalink
How to update local tags to match remote
Browse files Browse the repository at this point in the history
  • Loading branch information
einhirn committed Mar 15, 2024
1 parent 37d8661 commit cdf5b5d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,9 @@ git push origin `date +%F`
git push -f origin latest
```
- Create a new release based on `latest` tag.

To update local tags to match remote tags (i.e. reflect a move of the 'latest' tag) you need to
```
git fetch --tags -f
```
because the updated tag is refused otherwise.

0 comments on commit cdf5b5d

Please sign in to comment.