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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T21:37:45+00:00 2026-06-17T21:37:45+00:00

Consider the case where (for example) a 20GB directory is stored on a computer

  • 0

Consider the case where (for example) a 20GB directory is stored on a computer with 20.1GB disk space free, and we want to put this directory under revision control. A server is available to store revision history.

In subversion, we checkout an empty directory from the server, add the files, and commit it. This creates .svn directories of approximately the same size as the working directory so that it can detect changes and create diffs. The size of the .svn directories doesn’t change over time as you make regular changes.

However, trying this in git (git init .; git add .; git commit) requires that we store the full history locally. As regular changes are made (assume large binary files that don’t compress well), the .git directory grows until it doesn’t fit on disk.

Is there a way to operate git so that it doesn’t store the full history locally; so that it only keeps data about the tip of the branch that you’re working on, and queries a remote server every time that it wants information about historical revisions or other branches?

note: I know the .git directory is better compressed and you can make lots of revisions before it gets bigger than the .svn directory – the issue is that it grows over time whereas the .svn doesn’t

  • 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-17T21:37:46+00:00Added an answer on June 17, 2026 at 9:37 pm

    GIT is a Distributed CVS. The very heart of such DCVS is that they store their history locally.

    You can’t change that.

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

Sidebar

Related Questions

for example if we consider the case for 3 places with numbers from [1..3]..we
Consider this case: public Class1 { public static final String ONE = ABC; public
consider this piece of scala swing code detail.reactions += { case ButtonClicked(but) => detail.contents
Consider a fresh install of Visual Studio 2010 Beta 2. In this case, the
Lets consider some cases: _windsor.Register(Component.For<IProductServices>().ImplementedBy<ProductServices>().Interceptors(typeof(SomeInterceptorType)); In this case, when I ask for a IProductServices
Consider this example code: public class A<T> { public static T TheT { get;
A little presentation for what I want to do: Consider the case where different
Consider the following example: HTML: <div id=cool-div></div> JS/jQuery: var ComplexObject = function() { this.Append
Consider this simple xml element example: <parent foo=1 bar=2 foobar=3> <child/> </parent> In the
Consider this example data: field1 field2 1 100 2 100 3 101 4 102

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.