Library/git

What is a tag?
A tag is essentially just a specific name or label for any point in the commit tree.


 * http://learn.github.com/p/tagging.html

Adding tags for versioning
If you want to add a tag for a specific commit, you need the commit's hash. Most git hosts like github list the SHA1 hash along with the commit description.

This will add a tag to commit 6261a104465d805c15a2582eec96f0c6b28d4714 then push it to the remote repository. Tags are not pushed by default. will suffice is tagging the current code.


 * http://learn.github.com/p/tagging.html

Retagging
Quite simple: delete the tag, add the tag.

Useful for slightly premature tagging of the upcoming release.

What is a branch?

 * http://learn.github.com/p/branching.html

How do I merge branches?
This makes sure "master" is the active branch and then merges "experimental" into "master."


 * http://book.git-scm.com/3_basic_branching_and_merging.html