As you probably know git has the ability to tag specific points in history as being important.

In this example I’ll create a Tag for a javascript Rxjs Playground project which is going to serve as a starting point for future rxjs blog posts.

Initially the playground repo looks like this

git tag -a v1.0.0 -m "Version 1 - Initial Rxjs Template"

After this we can run:

git tag

To verify the tag was created.

When pushing to your remote repo, tags are NOT included by default. We will need to explicitly say that we want to push our tags to your remote repo:

git push origin –tags

Or if you just want to push a single tag:

git push origin <tag>

Now the repository should looks like this:

You can find this initial project template here:

https://github.com/cdcalderon/RxjsTrainingPlayground/releases/tag/v1.0.0

LEAVE A REPLY

Please enter your comment!
Please enter your name here