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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T06:26:15+00:00 2026-05-12T06:26:15+00:00

After almost two years of using DVCS, it seems that one inherent flaw is

  • 0

After almost two years of using DVCS, it seems that one inherent “flaw” is accidental data loss: I have lost code which isn’t pushed, and I know other people who have as well.

I can see a few reasons for this: off-site data duplication (ie, “commits have to go to a remote host”) is not built in, the repository lives in the same directory as the code and the notion of “hack ’till you’ve got something to release” is prevalent… But that’s beside the point.

I’m curious to know: have you experienced DVCS-related data loss? Or have you been using DVCS without trouble? And, related, apart from “remember to push often”, is there anything which can be done to minimize the risk?

  • 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-12T06:26:16+00:00Added an answer on May 12, 2026 at 6:26 am

    I’ve lost more data from clobbering uncommitted changes in a centralized VCS, and then deciding that I actually wanted them, than from anything I’ve done with a DVCS. Part of that is that I’ve been using CVS for almost a decade and git for under a year, so I’ve had a lot more opportunities to get into trouble with the centralized model, but differences in the properties of the workflow between the two models are also major contributing factors.

    Interestingly, most of the reasons for this boil down to “BECAUSE it’s easier to discard data, I’m more likely to keep it until I’m sure I don’t want it”. (The only difference between discarding data and losing it is that you meant to discard it.) The biggest contributing factor is probably a quirk of my workflow habits – my “working copy” when I’m using a DVCS is often several different copies spread out over multiple computers, so corruption or loss in a single repo or even catastrophic data loss on the computer I’ve been working on is less likely to destroy the only copy of the data. (Being able to do this is a big win of the distributed model over centralized ones – when every commit becomes a permanent part of the repository, the psychological barrier to copying tentative changes around is a lot higher.)

    As far as minimizing the risks, it’s possible to develop habits that minimize them, but you have to develop those habits. Two general principles there:

    • Data doesn’t exist until there are
      multiple copies of it in different
      places. There are workflow habits
      that will give you multiple copies
      for free – f’rexample, if you work
      in two different places, you’ll have
      a reason to push to a common location
      at the end of every work session,
      even if it’s not ready to publish.
    • Don’t try to do anything clever,
      stupid, or beyond your comfort zone
      with the only reference to a commit
      you might want to keep. Create a
      temporary tag that you can revert to,
      or create a temporary branch to do
      the operations on. (git’s reflog lets
      you recover old references after the
      fact; I’d be unsurprised if other
      DVCSs have similar functionality.
      So manual tagging may not be
      necessary, but it’s often more
      convenient anyways.)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got two web portals that are almost identical in architecture. One requires that
I am trying to query data from two tables into one tables using OUTER
I have two methods that are almost identical. The only dffernece is the where
I develop websites since last two years now and I have hard time learning
Okay, here is my problem: I have a form that requires to have two
After almost two days of searching and R&D finally I've derived some of the
I'm almost 100% sure I have ready every post on the internet that contains
I have been developing an Android/Java application that opens up two simultaneous Apache HTTP
I've been stumped for bit on this one - I have a string that
This question was inspired by one I asked almost a year ago - any-orms-that-work-with-ms-access-for-prototyping

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.