From: David Kastrup <dak@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: backup files for files under VC
Date: Mon, 21 Apr 2008 17:20:21 +0200 [thread overview]
Message-ID: <85abjnqloq.fsf@lola.goethe.zz> (raw)
In-Reply-To: <jwvabjnw9sy.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Mon, 21 Apr 2008 10:48:59 -0400")
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> Also if the problem you saw was that after:
>
> 1 - edit file
> 2 - "cvs remove" (or "git remove" or "bzr remove")
>
> the edit was lost, maybe the right place to solve it is in
> cvs/git/bzr: revision control systems generally place a lot of
> emphasis on not losing any data, so they may/should provide a way to
> undo the "cvs remove" and recover the edits you've made in "file".
It is actually quite hard to do a terminal mistake when using git.
Pretty much everything is recorded in the reflog, and you can rewind to
any intermediate state in the last 3 months or so.
The downside is of course that accidentally checked-in large amounts of
binary garbage are rather hard to get out of the system in a way that
they stop taking disk space.
Anyway, Torsten still has not reported what version control he is using
and what particular problem he encountered.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
prev parent reply other threads:[~2008-04-21 15:20 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-21 7:57 backup files for files under VC Torsten Bronger
2008-04-21 8:30 ` Nick Roberts
2008-04-21 9:39 ` David Kastrup
2008-04-21 11:14 ` Torsten Bronger
2008-04-21 11:58 ` David Kastrup
2008-04-21 12:18 ` Torsten Bronger
2008-04-21 12:35 ` David Kastrup
2008-04-21 12:50 ` Torsten Bronger
2008-04-21 13:09 ` David Kastrup
2008-04-21 13:18 ` Torsten Bronger
2008-04-21 13:39 ` David Kastrup
2008-04-21 14:01 ` Torsten Bronger
2008-04-21 17:20 ` Messy VC checkouts (was: backup files for files under VC) Phil Hagelberg
2008-04-21 18:00 ` Messy VC checkouts Stefan Monnier
2008-04-21 18:18 ` Thien-Thi Nguyen
2008-04-21 19:48 ` backup files for files under VC Richard Stallman
2008-04-21 14:53 ` Stefan Monnier
2008-04-21 15:47 ` Torsten Bronger
2008-04-21 16:27 ` David Kastrup
2008-04-21 16:35 ` Torsten Bronger
2008-04-21 14:48 ` Stefan Monnier
2008-04-21 15:20 ` David Kastrup [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=85abjnqloq.fsf@lola.goethe.zz \
--to=dak@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.