Fetching a single file from remote repo

2 messages, 1 author, 2016-06-15 · open the first message on its own page

Fetching a single file from remote repo

From: Dmitry Kakurin <hidden>
Date: 2016-06-15 22:43:29

Is there a way to fetch a single file from remote repo without
creating a client repo?
I want to do something like
  git show --repo git://repo.or.cz/bla.git master:/somedir/file.txt

-- 
- Dmitry

Re: Fetching a single file from remote repo

From: Dmitry Kakurin <hidden>
Date: 2016-06-15 22:43:29

On 8/13/07, Dmitry Kakurin [off-list ref] wrote:
Is there a way to fetch a single file from remote repo without
creating a client repo?
I want to do something like
 git show --repo git://repo.or.cz/bla.git master:/somedir/file.txt
I think I have found it:
git archive --remote=http://62.24.64.27/r/msysgit.git
master:share/GitMe setup-msysgit.sh | tar -x

-- 
- Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help