Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6540047
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T10:55:54+00:00 2026-05-25T10:55:54+00:00

I am soon going to be converting my part of an application from using

  • 0

I am soon going to be converting my part of an application from using an svn backed repository to using git one.

I’ve previously used git-svn, but the whole team is being moved to git and I’ve been asked to be in the vanguard of that move. Although I’m happy I understand how do do most of the move, there is one aspect that I’ve yet to work out.

One directory of my configuration repository has always been used to track the scripts directory of an external application on a standalone windows machine. The scripts directory for that application is inside the applications install directory, so with svn I did a checkout of just that directory at the appropriate point.

I was hoping that I would be able to continue with that structure, but my research suggests that narrow clones in git require you to keep the same relative structure, which would be difficult in my case.

To be explicit, I want to map the contents of myrepo:config/scripts to C:\application\scripts.

As far as I can see it, I have several options:

1. Use a separate repository for these script files.

This would probably be preferred, as it allows me to clone the repo into exactly the right location.

Unfortunately there is currently no structure which allows configuration data (which is what these scripts are) to be stored anywhere other than under the configuration directory. As such, this would require some restructuring of our repositories beyond the straight conversion from svn to git that we were hoping for.

2. Use junction points.

I could put the git working copy of the config directory elsewhere on C:\ and then use a junction point to make the directory appear as a sub-directory of the application directory, just as Ger4ish suggests using symlinks on unix.

Unfortunately I have no admin access to that machine, so this is not as simple as it first appears.

Other options?

I wonder if there are options that I’ve missed.

Looking at the answers to the question Sparse checkout in Git 1.7.0? I can get some of the way, but the requirement to keep the structure the same combined with the need to check out into a specific position means that this method won’t work.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T10:55:54+00:00Added an answer on May 25, 2026 at 10:55 am

    Have you looked at submodules? You could make a separate git repository for your config scripts and add it as a submodule to your main repository. This would allow you to do the checkout directly in application/scripts but still keep the config directory under the primary repository.

    There are some nuances with how submodules relate to the primary repository so you would want anyone who is committing to the scripts directory to understand this workflow.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We are going to be developing a large enterprise desktop application very soon and
I'm hopefully going to be deploying an application soon, and I find it strange
My college is going to start soon, but I want to do something in
I am going to have to implement some functionality to my application soon that
I'm going to start maintaining an Eclipse RCP application for my current employer soon.
I am working on a web application that will be going live soon, and
I am soon going to use log4j class using Java, for a project, to
My latest API is going to ship soon. Coming from a release early and
I built a web application that is going to launch a beta test soon.
I'm soon going to be starting some iPhone Development (3.0) building a simple app

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.