[vtk-developers] Stupid git question #1
Aashish Chaudhary
aashish.chaudhary at kitware.com
Tue Apr 27 15:53:20 EDT 2010
If by mistake you have the same name for the branch as the file name..
git checkout -- path/to/file
On Tue, Apr 27, 2010 at 3:49 PM, David E DeMarle
<dave.demarle at kitware.com>wrote:
> git checkout path/to/file
>
> David E DeMarle
> Kitware, Inc.
> R&D Engineer
> 28 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-371-3971 x109
>
>
>
> On Tue, Apr 27, 2010 at 3:42 PM, Bill Lorensen <bill.lorensen at gmail.com>
> wrote:
> > If I accidentally delete or modify a file in my local repository,
> > how can I undelete it. I want the equivalent of
> > cvs update -C
> >
> > Bill
> > _______________________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.vtk.org/mailman/listinfo/vtk-developers
> >
> >
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>
--
| Aashish Chaudhary
| R&D Engineer
| Kitware Inc.
| www.kitware.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20100427/22f81c93/attachment.html>
More information about the vtk-developers
mailing list