Choosing the qt tree to file merge requests

Raphael Kubo da Costa kubito at gmail.com
Mon Sep 14 17:27:57 BST 2009


2009/9/14 David Faure <faure at kde.org>:
> On Monday 14 September 2009, Thiago Macieira wrote:
>> Create a branch off the tag:
>>
>>         git branch 4.6-tp1 v4.6.0-tp1
>
> -obelix- dfaure 18:21 /d/qt/4/kde-qt (4.5.2-patched)>git branch 4.6-tp1 v4.6.0-tp1
> fatal: Not a valid object name: 'v4.6.0-tp1'.
>
>> > `git checkout v4.6.0-tp1` or `git checkout tags/v4.6.0-tp1` doesn't work,
>>
>> Either should work.
>
> -obelix- dfaure 17:56 /d/qt/4/kde-qt (4.5.2-patched)>git checkout v4.6.0-tp1
> error: pathspec 'v4.6.0-tp1' did not match any file(s) known to git.
>
> -obelix- dfaure 17:55 /d/qt/4/kde-qt (4.5.2-patched)>git checkout tags/v4.6.0-tp1
> error: pathspec 'tags/v4.6.0-tp1' did not match any file(s) known to git.
I think you need to do a 'git fetch --tags' first. According to the
man page, "Most of the tags are fetched automatically as branch heads
are downloaded, but tags that do not point at objects reachable from
the branch heads that are being tracked will not be fetched by this
mechanism", which seems to be the case. At least I had to do it ;)

>> Tags are global. As soon as you fetched it, it should appear in "git tag".
>
> But how does one list tags in the first place? The only way is to be told the tag name by email??
git tag




More information about the kde-core-devel mailing list