Sometimes you want to detect new users on your site versus returning visitors and display different sorts of information to them. An easy way to do this is to set a cookie.
If you’ve accidentally committed a tag and pushed it up to GitHub, it’s quite easy to delete it and then add a new one. For this example, I’m deleting my previous tag “v1.0”, and then adding a new one for the repo at its current state.
1) Delete the v1.0 tag locally:
git tag -d v1.0
2) Delete the v1.0 tag on GitHub (which removes its download link):
git push origin :v1.0
3) Add a new tag for the updated release:
git tag -a v1.0 -m "Version 1.0 Stable"
4) Push the latest tag to GitHub (two dashes):
git push --tags