Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Checkout Latest Tagged Version

Determine the latest tagged version and store it as a local variable.

Code Block
languagebash
titleRetrieve Latest Tagged Version
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
languagebash
titleCheckout Latest
git checkout $tag -b latest

...