On Tue, Sep 27, 2011 at 4:00 AM, Michael Sgier wrote:

> Hi
>
> I've messed up weather in fgdata. How could i discard local changes and
> only get changes/original files? Git says to be up to date but weather is
> broken.
>
> Later I'll do my first upload. (groundnetworks.xml etc.) I do alike the
> wiki and after commit simply do a git push?
>

Hi Michael,

If you know the specific file(s) that need to be returned to official git
head version, then just run:

git checkout file1 file2 file3 ...

That (unceremoniously and without any confirmation) will discard your local
changes to those named files.

Curt.
-- 
Curtis Olson:
http://www.atiak.com - http://aem.umn.edu/~uav/
http://www.flightgear.org - http://gallinazo.flightgear.org
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to