Page History
...
Checkout Latest Tagged Version
Determine the latest tagged version and store it as a local variable.
Code Block | ||||
---|---|---|---|---|
| ||||
tag=$(git describe --tags `git rev-list --tags --max-count=1`) |
Checkout the latest using the just stored variable version as a local branch "latest" local branch using the variable you have just stored.
Code Block | ||||
---|---|---|---|---|
| ||||
git checkout $tag -b latest |
...
Overview
Content Tools