[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: help with git



Le jeudi 21 juil. 2011 à 19:39:00 (+0200 CEST), Simon McVittie a écrit :
> On Thu, 21 Jul 2011 at 19:16:50 +0200, Julien Valroff wrote:
> > When running this type of config, how do you avoid pushing the upstream
> > tags to the debian repository?
> 
> To push individual tags, use "git push origin 1.2-3" or something, instead
> of "git push --tags".
> 
> To get rid of the upstream tags from your local copy, "git tag -d"; to stop
> them coming back when you fetch, put in .git/config:
> 
>     [remote "upstream"]
>     tagopts = --no-tags
>     ...
> 
> (or add the remote with "git remote add --no-tags ..." if you didn't already
> add it).

I have missed that for years, thanks for the tip.

Cheers,
Julien

-- 
  .''`.   Julien Valroff ~ <julien@kirya.net> ~ <julien@debian.org>    
 : :'  :  Debian Developer & Free software contributor
 `. `'`   http://www.kirya.net/
   `-     4096R/ E1D8 5796 8214 4687 E416  948C 859F EF67 258E 26B1


Reply to: