Svn vs git small (sparse) check - branching, fixing

I have a very large web project with a lot of PDFs, images, php files. I imported files to svn as one project. I use shallow check svn to check part of a subtree, and then use a branch and tag, etc. From a working copy to save space and speed up verification time.

I am wondering if this is possible with git. I read that git does not allow committing or joining branches after you do a rare check. Is this still true for new git releases?

+1
git svn
Jun 26 2018-12-12T00:
source share
1 answer

Using the following commands, I was able to check only the Documentation/ directory in the git repository located in git://github.com/git/git.git :

 git init git remote add -f github-git git://github.com/git/git.git git config core.sparsecheckout true echo Documentation/ >> .git/info/sparse-checkout git pull github-git master 

The git documentation says nothing about the impossibility of making new changes, so it seems like it should work fine. Indeed, I tested this, and I can confirm that after performing a sparse check, I was able to make new changes.

(I am using git version 1.7.0.4)

+2
Jun 26 '12 at 19:21
source share



All Articles