diff --git a/branching/index.html b/branching/index.html index 6049a6a..8944dd8 100644 --- a/branching/index.html +++ b/branching/index.html @@ -774,10 +774,11 @@ ab5ab4c added erlang * 17f4acf first commit -
By default, tags are not included 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.
+
Tags pointing to objects tracked from branch heads will be
+ automatically downloaded when you 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-repogit 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 usinggit push
. +In a nutshell you use
git tag
to mark a commit or point in your repo as important. This also allows