DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 14th May 2020
Prevet Prevet is offline
Package Pilot
 
Join Date: Oct 2017
Posts: 196
Default Question about GOT

I was looking at Game Of Trees and was wondering if it is possible to use it to download the contents of a single directory from the OpenBSD Github.

So say for example I want to mod a small program to use on my machine, but I don't want to download 300 MB and store it on my harddrive. I just want to download the directory it is stored in. Can that be done with GOT?
Reply With Quote
  #2   (View Single Post)  
Old 15th May 2020
TronDD TronDD is offline
Spam Deminer
 
Join Date: Sep 2014
Posts: 281
Default

Not really. You clone the whole repository because that's how git works. But you can then checkout a subdirectory into your working tree using the -p option to checkout.

I don't think there is any way of getting around cloning the whole repo.
Reply With Quote
  #3   (View Single Post)  
Old 15th May 2020
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,414
Default

If you're tight on space or bandwidth, consider using AnonCVS. The repositories are remote rather than local, and the linked web page has an example of the checkout of a small branch of a larger tree into /tmp.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about AES DanBSD Off-Topic 5 7th May 2015 08:16 PM
PF question bug0r OpenBSD Security 7 23rd November 2009 03:54 PM
external drive partition question + fdisk question gosha OpenBSD General 15 15th June 2009 02:00 PM
DR-DOS question RJPugh Other OS 4 31st May 2009 11:10 AM
Question about Mac OS X SLA nfries88 Other BSD and UNIX/UNIX-like 9 1st January 2009 09:05 PM


All times are GMT. The time now is 09:46 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick