mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 23:38:53 +00:00
git command to update submodule to latest
This is how I update my themes. It took a while to find the commands that work, so I think it would be good to have them here for other users.
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
ffa9b165ef
commit
b0e2792205
@@ -128,6 +128,12 @@ You can checkout a specific version as follows:
|
||||
git checkout tags/<version-name>
|
||||
```
|
||||
|
||||
You can update a theme to the latest version by executing the following command in the *root* directory of your project:
|
||||
|
||||
```
|
||||
git submodule update --rebase --remote
|
||||
```
|
||||
|
||||
## Next Steps
|
||||
|
||||
You now have a live website served over https, distributed through CDN, and configured for continuous deployment. Dig deeper into the Netlify documentation:
|
||||
|
||||
Reference in New Issue
Block a user