Hello Matthew, On Mon 02 Dec 2019 at 02:07PM +00, Matthew Vernon wrote:
> It would be nice if dgit-maint-merge(7) provided more advice on > pushing to salsa, specifically: > > The various setup sections do describe e.g. > % git push --follow-tags -u origin master > > ...and while this is nice, it should (I think) be possible to provide > git config runes so that git push does what you wanted by default - > git-push(1) alludes to this: > > When the command line does not specify what to push with <refspec>... > arguments or --all, --mirror, --tags options, the command finds the > default <refspec> by consulting remote.*.push configuration Actually, the '-u' in that command alters your .git/config such that a subsequent plain `git push` will push master to salsa. --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? Were you looking for anything beyond these two things? > BUILDING AND UPLOADING should also mention pushing to salsa Yes. -- Sean Whitton
signature.asc
Description: PGP signature