On Mon, Mar 02, 2015 at 10:48:24AM +0100, Francis Moreau wrote:
> Hi,
> 
> git remote add has --no-tags/--tags option, but I can't find in the man
> page which one is the default.
> 
> Could anybody tell me the default option ?
> 


Neither is default. This option has three states, set, unset and
default:

- unset (--no-tags) doesn't fetch any tags at all
- default (no option passed) will fetch any tags that are reachable from the 
refs that are
  being fetch
- set (--tags) will fetch all tags, even if they aren't reachable.

These options can also be set with the remote.<name>.tagopt config
option, which takes values [--tags|--no-tags].

Kevin
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to