Adding and Removing Tags on GitHub

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

Custom Post Type Resources

The ability to create custom post types was a great feature added in WordPress 2.9 and then expanded in 3.0. It allows us to add and label completely different types of content than the standard “Pages” and “Posts” we’re all used to. To get started with this, here’s my recommended list of links and resources.