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 7830553
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T11:16:59+00:00 2026-06-02T11:16:59+00:00

I inherited a project stored in CVS. The previous developer has massive un-committed changes

  • 0

I inherited a project stored in CVS. The previous developer has massive un-committed changes in his working directory, including removal of a ton of files, that I would like to inspect. Here’s my plan:

  1. cvs checkout the_project.
  2. Follow the remote cvs / local git workflow, initializing a git repo with the pristine state of the_project.
  3. Copy the new .git into the the other working directory.
  4. Presto! All the removals/changes show up as unstaged differences.

This initially looks like it’s gonna work. Any major pitfalls I should worry about?

  • 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-06-02T11:17:01+00:00Added an answer on June 2, 2026 at 11:17 am

    I do something similar all the time. I use GIT to track multiple releases and multiple branches from a large SVN project. The project has ~200 SVN modules each in a subdirectory of ‘src’. When I started the GIT repository, I checked out v9.4.4 of the project, did a ‘git init’ added .gitignore and .gitattributes, did a ‘git add -A’ and ‘git commit -m ‘v9.4.4’. Then I moved .git up out of the project and created a symbolic link to it. When the v9.4.5 release came along I checked it out, added a symbolic link to the now shared .git directory, added the .gitignore and .gitattributes, did a ‘git add -A’ and ‘git commit -m ‘v9.4.5’. At this point, I have one GIT repository symbolically linked from two directories.

    With this setup you can do any git operations that don’t touch the working directory. So, for my application, ‘git diff v9.4.4..v9.4.5’ works great. Of course you can also do git operations that do touch the index and the working directory but then you need to be careful that that repository is at the right commit for the release that you are sitting in.

    I’ve also used this for multiple branches. In that case it is critical to use ‘git symbolic-ref HEAD refs/heads/a-branch’ to change the branch without touching the working directory. So when for my project version s3 came along, I did a ‘git branch s3 v9.4.4’, created my .git symbolic link, did ‘git symbolic-ref HEAD refs/heads/s3’ and followed it with ‘add’ and ‘commit.’

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

Sidebar

Related Questions

I inherited a project originally stored in CVS with all the revisions. I made
I recently inherited a project where a sqlite db is stored on the users
I've inherited a VB6 project that has a Form with VB controls (Label, etc)
I'm attempting to modify an inherited project that has a convoluted process of displaying
I inherited a project where each 'customer' has its own database. There are hundreds
The project I'm working on has a need to represent many different hardware registers
I have a client who has messed up characters in his database (I inherited
I am working on a project which has some important data in it. This
I have inherited a project that has class libraries written in VB.NET, some of
I inherited a project from a colleague that left the company. While examining his

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.