From dbdd946cd92bc13da11c6a80f6bb930731cd3702 Mon Sep 17 00:00:00 2001
From: Soon Van By default, tags are not included when you Tags pointing to objects tracked from branch heads will be
+ automatically downloaded when you push
to or
- fetch
from a remote repository. In order to explicitly
- update these you must include the --tags
option to transfer
- all the tags on the repo.
+ fetch
from a remote
+ repository. However, tags that aren't reachable from branch heads
+ will be skipped. If you want to make sure all tags are always
+ included, you must include the --tags
option.
@@ -796,6 +797,11 @@ From git://github.com:example-user/example-repo
git fetch <remote> tag <tag-name>
.
By default, tags are not included when you push
to
+ a remote repository. In order to explicitly update these you must
+ include the --tags
option when using git push
.
+
In a nutshell you use git tag
to mark a
commit or point in your repo as important. This also allows