Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

Version 1 Next »

Tags are a great way of labelling the git pushes as you progress through the development of your code.

You need to follow these steps

  1. Create a git repo as normal

  2. Make changes to the code base

  3. git add .

  4. git commit -m <message>

  5. git tag -a <tag id> -m <message relating to the tag>

  6. git push origin <tag id>

  7. git push origin master

Lines 6 and 7 can be swapped.

Use the following convention for <tag id> vX.Y e.g. v1.4

As an example here is a git tag command - git tag -a v1.4 -m “some message”

  • No labels