I’m trying to import a few files from SVN to a new git repository.
For Example, I have the following in SVN:
files/file1
files/file2
files/file3
files/image1
files/image2
I want to import only the files/image* files.
Is this possible?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I assume from your tags that you’re using git-svn? If so, check out the
--ignore-pathsoption. Use it ongit svn initorgit svn cloneto have the values you pass preserved in the local config, or ongit svn fetchfor per-fetch ignoring.