Thread (6 messages) 6 messages, 3 authors, 2016-06-15

Re: git reset --hard w/o touching every file

flat view

From: Pierre Habouzit <hidden>
Date: 2016-06-15 22:45:34

On Sat, Nov 01, 2008 at 04:48:38AM +0000, Edward Z. Yang wrote:
I was wondering if there was any way to run `git reset --hard $revlike`,
or a command with the same effect, without having Git touch every file?
git checkout HEAD -- <list of the files>

-- 
·O·  Pierre Habouzit
··O                                                madcoder@debian.org
OOO                                                http://www.madism.org

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help