Re: [Flightgear-devel] dumb git question

2010-06-22 Thread Andy Ross
Thought I'd chime in here, as I've been going through the git transition pains myself recently, and the other answers have been all about the "what" and not the "why" of the task. Git adds an extra level of indirection that you're not used to: the cvs/svn model of the world had only one repository

Re: [Flightgear-devel] dumb git question

2010-06-22 Thread Roy Vegard Ovesen
On Tue, 2010-06-22 at 15:20 -0500, Curtis Olson wrote: > Here's a dumb git question. > > > Previously with cvs or svn, if I inadvertently removed a file, or > screwed up a file really badly and just wanted to start clean with the > repository version, I could just remove the file and run "cvs/svn

Re: [Flightgear-devel] dumb git question

2010-06-22 Thread Anders Gidenstam
On Tue, 22 Jun 2010, Curtis Olson wrote: > Here's a dumb git question. > > Previously with cvs or svn, if I inadvertently removed a file, or screwed up > a file really badly and just wanted to start clean with the repository > version, I could just remove the file and run "cvs/svn update" and the

Re: [Flightgear-devel] dumb git question

2010-06-22 Thread Victhor
git stash. WARNING: This will remove ALL of your custom changes IIRC. Be careful. Otherwise just do git checkout path/to/file if you have accidentally deleted a file. > Here's a dumb git question. > > > Previously with cvs or svn, if I inadvertently removed a file, or > screwed up a file really b

Re: [Flightgear-devel] dumb git question

2010-06-22 Thread Oliver Thurau
: [Flightgear-devel] dumb git question Here's a dumb git question. Previously with cvs or svn, if I inadvertently removed a file, or screwed up a file really badly and just wanted to start clean with the repository version, I could just remove the file and run "cvs/svn update" and t

[Flightgear-devel] dumb git question

2010-06-22 Thread Curtis Olson
Here's a dumb git question. Previously with cvs or svn, if I inadvertently removed a file, or screwed up a file really badly and just wanted to start clean with the repository version, I could just remove the file and run "cvs/svn update" and the missing file would be noticed, and the system would