> I'll try to find the knobs controlling that and wil get back to you.

I'm a bit wiser now.  Sorry for giving wrong advise, here
are corrections.

> I know that the sharing of tags can be disabled.

The defaults are:

        - when fetching/pulling:  receive any tags

        - when pushing:  *don't* send tags.
        - unless when pushing with -mirror: send tags.

You can push your existing tags with an explicit one-shot command:

        git push --tags

Next, you should tweak your local repository's default setting for
pushing future tags automatically along with the code:

        git config push.followTags true

This will cause future tags to be pushed, but not all tags:
only "annotated" tags will be deemed worthy to be pushed
to others.  You create these with the "-a" option:

        git tag -a j805-beta-7

You will be thrown into your editor for writing the annotation.
Format is the same as with commit messages:

        - a short title line

        - optionally followed by a blank line and one or more
          paragraphs.  (You could use these to summarize the
          highlights of the tagged beta/release or warn about
          buggy features still in flux.)

A short annotation can also be provided via an option,
avoiding the editor:

        git tag -a -m 'more bugfixes, no new features' j805-beta-7

Unannotated tags (also called "lightweight") are still kept private.
Also, any tag (annotated or not) referring only to private branches
is not pushed at all.


                                                        Martin

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to