Questions tagged [sparse-checkout]

A working copy of version controlled code which doesn't include the whole repository.

124 questions
0
votes
0 answers

multiple git subtrees from multiple repos, offsetting the directory layout

say I have 2 different git repos: repo-1: /dir11 /dir12 /dir13 repo-2: /dir21 /dir22 /dir23 so far I only managed the following (with sparsecheckout): work-repo: /repo-1 /dir11 /repo-2 /dir22 /dir23 But I'd really like to be…
sbinet
  • 16
  • 1
0
votes
1 answer

How do I implement sparse checkout in JGit?

I need to pull the contents of a specific sub directory in a Github Repository and put it under my own directory. After much research, it seems sparse checkouts is the way to go. However, I am a little unsure, as to how to implement this using JGit.…
systemboot
  • 860
  • 2
  • 8
  • 22
0
votes
1 answer

hg nested repository settings

I have a third party nested git repo in my mercurial project and I want to share my local settings (sparse checkouts) for this repo with my team - is there any way to do this automatically? /repo/nestedrepo/.git/info/sparse-checkout <- this is a…
hcliff
  • 433
  • 5
  • 16
-1
votes
1 answer

New folders created in a Git repository are shown as empty on disk

I am new to Git and I am having some problems when creating new folders. I have a sparse-checkout of a repository (as I don't need the whole thing) and I created a new folder with some files in it, but as soon as I switch directory (either via…
Pascal
  • 11
  • 3
1 2 3
8
9