diff options
author | Junio C Hamano <junkio@cox.net> | 2007-02-15 12:46:27 +0300 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-02-15 12:52:14 +0300 |
commit | 24424fc2f7cd7b3875fe6863587f47c043ac449d (patch) | |
tree | c5b48642e2e399a7361e6314fcde371e6c95f828 /usage.c | |
parent | 437b1b20df4b356c9342dac8d38849f24ef44f27 (diff) |
remotes.not-origin.tagopt
With a configuration entry like this:
[remote "alt-git"]
url = git://repo.or.cz/alt.git/git/
fetch = +refs/heads/*:refs/remotes/alt-git/*
tagopt = --no-tags
you do not have to say "git pull --no-tags alt-git". Just
saying "git pull alt-git" would suffice.
Obviously, if you want to get the tag from such an alternate
remote in a separate namespace, you could also do something like:
[remote "alt-git"]
url = git://repo.or.cz/alt.git/git/
fetch = +refs/heads/*:refs/remotes/alt-git/*
fetch = +refs/tags/*:refs/remote-tags/alt-git/*
tagopt = --no-tags
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'usage.c')
0 files changed, 0 insertions, 0 deletions