[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] leapsecond.cache, git
From: |
Beat Bolli |
Subject: |
Re: [gpsd-dev] leapsecond.cache, git |
Date: |
Fri, 09 Jan 2015 17:34:51 +0100 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 |
On 08.01.15 19:52, Greg Troxel wrote:
> git reset --hard -- leapseconds.cache
>
> and being told that hard reset does not work with paths. I guess I need
> to read the docs for reset yet again, because it's too late for reset to
> become easy to understand ;-(
git checkout leapseconds.cache
is what you want. It updates the named file from the latest commit.
git checkout <hash> -- <file>...
is the general form.
Cheers,
Beat
--
https://drbeat.li
pgp: 0x506A903A; 49D5 794A EA77 F907 764F D89E 304B 93CF 506A 903A
gsm: 4.7.7.6.0.7.7.9.7.1.4.e164.arpa
icbm: 47.0452 N, 7.2715 E
"It takes love over gold, and mind over matter" -- Dire Straits
signature.asc
Description: OpenPGP digital signature
- [gpsd-dev] leapsecond.cache, git, Greg Troxel, 2015/01/08
- Re: [gpsd-dev] leapsecond.cache, git, Eric S. Raymond, 2015/01/08
- Re: [gpsd-dev] leapsecond.cache, git, Greg Troxel, 2015/01/08
- Re: [gpsd-dev] leapsecond.cache, git, Greg Troxel, 2015/01/08
- Re: [gpsd-dev] leapsecond.cache, git, Bernd Zeimetz, 2015/01/08
- Re: [gpsd-dev] leapsecond.cache, git, Eric S. Raymond, 2015/01/08
- Re: [gpsd-dev] leapsecond.cache, git, Greg Troxel, 2015/01/09
- Re: [gpsd-dev] leapsecond.cache, git, Eric S. Raymond, 2015/01/10
- Re: [gpsd-dev] leapsecond.cache, git, Greg Troxel, 2015/01/12
- Re: [gpsd-dev] leapsecond.cache, git,
Beat Bolli <=