mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 14:17:43 +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:
1 parent
ffa9b165ef
commit
b0e2792205
1 file changed
+6
@@ -128,6 +128,12 @@ You can checkout a specific version as follows:
|
|||||||
git checkout tags/<version-name>
|
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
|
## 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:
|
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