On 02/12/2019 15:52, Sean Whitton wrote:

>> The various setup sections do describe e.g.
>>            % git push --follow-tags -u origin master

> Actually, the '-u' in that command alters your .git/config such that a
> subsequent plain `git push` will push master to salsa.

Yes, but unless I am terminally confused about git, if I want to be
pushing two branches (e.g. upstream and master) then this doesn't DWIW?

> --follow-tags does need a separate git config option, which could be
> added, but it might be too much automation.  The potential problem is
> that you can accidentally push debian/foo tags to a remote other than
> salsa, such as upstream's git repo, if you happen to have push access to
> that (I've managed to do this before, though I think it was with
> --tags).  What do you think about this risk?

Ah, yes, that might be a problem. But, for example, I will always want
to push these tags to salsa, so maybe something on a per-remote basis?

> Were you looking for anything beyond these two things?

No.

Regards,

Matthew


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to