On 7/7/07, Johannes Schindelin <Johannes.Schindelin@xxxxxx> wrote:
On Sat, 7 Jul 2007, Francis Moreau wrote: > I was wondering what does 'git describe origin' command mean on a git > repo. Does it mean ? > > a/ git describe origin/HEAD > b/ git describe origin/master > c/ something else This is completely unrelated to "git describe". It is about naming commits AKA "specifying revisions". You might find the section "SPECIFYING REVISIONS" in Documentation/git-rev-parse.txt especially helpful. FWIW this section is hinted at in the section "Symbolic Identifiers" in Documentation/git.txt. If you're too lazy to read, it's a/.
Ok I took a look to it and I think I get the idea. But now I don't understand this example taken from "git-branch" documentation: """ Delete unneeded branch $ git clone git://git.kernel.org/.../git.git my.git $ cd my.git $ git branch -d -r todo html man (1) """ I think the last command can't work since the given refs can't be found according the rules given by the documention you mentioned earlier. thanks -- Francis - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html