The SSH host key has changed on 8 April, 2022 to this one: SHA256:573uTBSeh74kvOo0HJXi5ijdzRm8me27suzNEDlGyrQ
1
0
Fork 0

Note difference on default behaviour on fetch/push on repo tags

gh-pages
Soon Van 10 years ago
parent 690a441c25
commit dbdd946cd9
  1. 14
      branching/index.html

@ -774,10 +774,11 @@ ab5ab4c added erlang
* 17f4acf first commit
</pre>
<p>By default, tags are not included when you <code>push</code> to or
<code>fetch</code> from a remote repository. In order to explicitly
update these you must include the <code>--tags</code> option to transfer
all the tags on the repo.
<p>Tags pointing to objects tracked from branch heads will be
automatically downloaded when you <code>fetch</code> from a remote
repository. However, tags that aren't reachable from branch heads
will be skipped. If you want to make sure <em>all</em> tags are <em>always</em>
included, you must include the <code>--tags</code> option.
</p>
<pre>
@ -796,6 +797,11 @@ From git://github.com:example-user/example-repo
<code>git fetch &lt;remote> tag &lt;tag-name></code>.
</p>
<p>By default, tags are not included when you <code>push</code> to
a remote repository. In order to explicitly update these you must
include the <code>--tags</code> option when using <code>git push</code>.
</p>
<p class="nutshell">
<b>In a nutshell</b> you use <code>git tag</code> to mark a
commit or point in your repo as important. This also allows

Loading…
Cancel
Save