Maybe you should preface your response with "<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; white-space: pre; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; ">Stupid git *answer* #1"</span><br>
<br><div>Think of it like this, everyone: with cvs, *checkout* and *commit* were "communicate with the server" commands. Now with git, they are "communicate with the local repository" commands.</div><div>
<br></div><div>checkout and commit are both now completely local operations. It's fetch/pull and push that go back-and-forth over the wire now.</div><div><br></div><div><br><div class="gmail_quote">On Tue, Apr 27, 2010 at 4:08 PM, David E DeMarle <span dir="ltr"><<a href="mailto:dave.demarle@kitware.com">dave.demarle@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">no confusion, checkout will restore a file from the repository.<br>
<br>
[kargad:devel/ParaView/VTK] demarle% fif "*.txt" Lorensen<br>
./Copyright.txt:Copyright (c) 1993-2008 Ken Martin, Will Schroeder,<br>
Bill Lorensen<br>
./Copyright.txt: * Neither name of Ken Martin, Will Schroeder, or Bill<br>
Lorensen nor the names<br>
./Utilities/Doxygen/authors.txt:lorensen: Lorensen, Bill (<a href="mailto:lorensen@crd.ge.com">lorensen@crd.ge.com</a>)<br>
./Utilities/EncodeString/CMakeLists.txt:# Copyright (c) Ken Martin,<br>
Will Schroeder, Bill Lorensen<br>
./Utilities/HashSource/CMakeLists.txt:# Copyright (c) Ken Martin, Will<br>
Schroeder, Bill Lorensen<br>
./Utilities/ParseOGLExt/CMakeLists.txt:# Copyright (c) Ken Martin,<br>
Will Schroeder, Bill Lorensen<br>
[kargad:devel/ParaView/VTK] demarle% rm Copyright.txt<br>
[kargad:devel/ParaView/VTK] demarle% rm Utilities/Doxygen/authors.txt<br>
[kargad:devel/ParaView/VTK] demarle% rm Utilities/EncodeString/CMakeLists.txt<br>
[kargad:devel/ParaView/VTK] demarle% rm Utilities/HashSource/CMakeLists.txt<br>
[kargad:devel/ParaView/VTK] demarle% rm Utilities/ParseOGLExt/CMakeLists.txt<br>
[kargad:devel/ParaView/VTK] demarle% fif "*.txt" Lorensen<br>
[kargad:devel/ParaView/VTK] demarle% git checkout Copyright.txt<br>
[kargad:devel/ParaView/VTK] demarle% fif "*.txt" Lorensen<br>
./Copyright.txt:Copyright (c) 1993-2008 Ken Martin, Will Schroeder,<br>
Bill Lorensen<br>
./Copyright.txt: * Neither name of Ken Martin, Will Schroeder, or Bill<br>
Lorensen nor the names<br>
<div class="im"><br>
David E DeMarle<br>
Kitware, Inc.<br>
R&D Engineer<br>
28 Corporate Drive<br>
Clifton Park, NY 12065-8662<br>
Phone: 518-371-3971 x109<br>
<br>
<br>
<br>
</div><div><div></div><div class="h5">On Tue, Apr 27, 2010 at 3:56 PM, Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>> wrote:<br>
> I'm not using the correct terminology I think.<br>
><br>
> I have cloned a repository.<br>
> By accident I changed or deleted a file.<br>
> How do I get a copy of that file from the cloned repository?<br>
><br>
> Bill<br>
><br>
> On Tue, Apr 27, 2010 at 3:49 PM, David E DeMarle<br>
> <<a href="mailto:dave.demarle@kitware.com">dave.demarle@kitware.com</a>> wrote:<br>
>> git checkout path/to/file<br>
>><br>
>> David E DeMarle<br>
>> Kitware, Inc.<br>
>> R&D Engineer<br>
>> 28 Corporate Drive<br>
>> Clifton Park, NY 12065-8662<br>
>> Phone: 518-371-3971 x109<br>
>><br>
>><br>
>><br>
>> On Tue, Apr 27, 2010 at 3:42 PM, Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>> wrote:<br>
>>> If I accidentally  delete or modify  a file in my local repository,<br>
>>> how can I undelete it. I want the equivalent of<br>
>>> cvs update -C<br>
>>><br>
>>> Bill<br>
>>> _______________________________________________<br>
>>> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>>><br>
>>> Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>>><br>
>>> Follow this link to subscribe/unsubscribe:<br>
>>> <a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
>>><br>
>>><br>
>><br>
><br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
</div></div></blockquote></div><br></div>