* know wget URL, need git-clone URL
@ 2008-11-27 4:10 jidanni
2008-11-27 9:00 ` Andreas Ericsson
0 siblings, 1 reply; 2+ messages in thread
From: jidanni @ 2008-11-27 4:10 UTC (permalink / raw)
To: git; +Cc: smartphones-userland
I wish the git beginner documentation would tell one how to translate
e.g., http://git.debian.org/?p=pkg-fso/files.git&a=blob_plain&f=install.sh
which is good for wget, to the URL one needs for git-clone to get the
same file.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: know wget URL, need git-clone URL
2008-11-27 4:10 know wget URL, need git-clone URL jidanni
@ 2008-11-27 9:00 ` Andreas Ericsson
0 siblings, 0 replies; 2+ messages in thread
From: Andreas Ericsson @ 2008-11-27 9:00 UTC (permalink / raw)
To: jidanni; +Cc: git, smartphones-userland
jidanni@jidanni.org wrote:
> I wish the git beginner documentation would tell one how to translate
> e.g., http://git.debian.org/?p=pkg-fso/files.git&a=blob_plain&f=install.sh
> which is good for wget, to the URL one needs for git-clone to get the
> same file.
You can't use "git clone" to get a single file. You can only get the
entire repository using "git clone". Usually, the clone-url is written
somewhere on the projects gitweb page, and that is also the case for
this repository.
If you visit http://git.debian.org/?p=pkg-fso/files.git;a=summary you'll
find this section on that page:
URL git://git.debian.org/git/pkg-fso/files.git
http://git.debian.org/git/pkg-fso/files.git
It's impossible to infer the clone url from the gitweb url, because there's
absolutely no connection between them (that will change if gitweb gains
fetch/clone support), and the paths/urls depends on the servers configuration
which we cannot know.
--
Andreas Ericsson andreas.ericsson@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-11-27 9:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-27 4:10 know wget URL, need git-clone URL jidanni
2008-11-27 9:00 ` Andreas Ericsson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).