Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.misc > #77824
| From | ram@zedat.fu-berlin.de (Stefan Ram) |
|---|---|
| Newsgroups | comp.os.linux.misc |
| Subject | Re: basic git operations |
| Date | 2025-11-22 21:13 +0000 |
| Organization | Stefan Ram |
| Message-ID | <checkout-20251122221228@ram.dialup.fu-berlin.de> (permalink) |
| References | <git-20251122190040@ram.dialup.fu-berlin.de> <wwvtsylx6hn.fsf@LkoBDZeT.terraraq.uk> <transcripts-20251122213102@ram.dialup.fu-berlin.de> |
ram@zedat.fu-berlin.de (Stefan Ram) wrote or quoted: >I have not yet tried to restore something, but I would use >"%GIT_EXE% checkout <commit-id>" for this. This only worked once - can't remember all details, but somehow git started to show me my files with a "D" for "deleted". To reliably get my files back, what seems to work is: "%GIT_EXE%" archive ... >archive.tar . It sounds as if checking out can be dangerous when git deems your files to be deleted and then synchronizes your working directory with this state . . .
Back to comp.os.linux.misc | Previous | Next — Previous in thread | Next in thread | Find similar
basic git operations ram@zedat.fu-berlin.de (Stefan Ram) - 2025-11-22 18:08 +0000
Re: basic git operations Richard Kettlewell <invalid@invalid.invalid> - 2025-11-22 18:33 +0000
Re: basic git operations ram@zedat.fu-berlin.de (Stefan Ram) - 2025-11-22 18:46 +0000
Re: basic git operations ram@zedat.fu-berlin.de (Stefan Ram) - 2025-11-22 20:34 +0000
Re: basic git operations ram@zedat.fu-berlin.de (Stefan Ram) - 2025-11-22 21:13 +0000
Re: basic git operations Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-22 21:59 +0000
Re: basic git operations Richard Kettlewell <invalid@invalid.invalid> - 2025-11-22 23:11 +0000
Re: basic git operations pa@see.signature.invalid (Pierre Asselin) - 2025-11-22 19:52 +0000
Re: basic git operations ram@zedat.fu-berlin.de (Stefan Ram) - 2025-11-22 20:10 +0000
Re: basic git operations Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-22 21:57 +0000
Re: basic git operations Beej Jorgensen <beej@beej.us> - 2025-11-24 20:23 +0000
Re: basic git operations ram@zedat.fu-berlin.de (Stefan Ram) - 2025-11-24 20:38 +0000
Re: basic git operations Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-24 23:37 +0000
Re: basic git operations Beej Jorgensen <beej@beej.us> - 2025-11-25 22:06 +0000
Re: basic git operations Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-26 00:53 +0000
Re: basic git operations Pancho <Pancho.Jones@protonmail.com> - 2025-11-22 20:00 +0000
Re: basic git operations ram@zedat.fu-berlin.de (Stefan Ram) - 2025-11-22 20:19 +0000
Re: basic git operations Pancho <Pancho.Jones@protonmail.com> - 2025-11-22 20:24 +0000
Re: basic git operations ram@zedat.fu-berlin.de (Stefan Ram) - 2025-11-22 20:37 +0000
Re: basic git operations Beej Jorgensen <beej@beej.us> - 2025-11-24 19:51 +0000
Re: basic git operations Richard Kettlewell <invalid@invalid.invalid> - 2025-11-24 22:27 +0000
Re: basic git operations Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-24 23:41 +0000
csiph-web