[ACCEPTED]-git bundle: bundle tags and heads-bundle

Accepted answer
Score: 13
git bundle create RA.bundle --branches --tags

would include informations about all tags 12 and all branches.

git bundle takes a list of arguments, acceptable 11 to git rev-parse and git rev-list (and containing a named ref, see 10 SPECIFYING REFERENCES), that specifies the specific objects and 9 references to transport.

--branches[=<pattern>]

Pretend as if all 8 the refs in refs/heads are listed on the command line 7 as <commit>.
If <pattern> is given, limit branches to ones 6 matching given shell glob.
If pattern 5 lacks ?, , or [, / at the end is implied.

--tags[=<pattern>]

Pretend 4 as if all the refs in refs/tags are listed 3 on the command line as <commit>.
If <pattern> is given, limit 2 tags to ones matching given shell glob.
If 1 pattern lacks ?, , or [, / at the end is implied.

More Related questions