login
Header Space

 
 

Re: how to revert changes in working tree?

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Liu Yubao <yubao.liu@...>
Cc: <git@...>
Date: Wednesday, December 6, 2006 - 4:43 am

On 12/6/06, Liu Yubao <yubao.liu@gmail.com> wrote:

You may want to consider git pull. It'd do exactly the same


That's windows and cygwin for you. They work together
and may someday even figure how to commit the changes.

They problem is the exec-bit which windows does not
have and cygwin failed to correctly workaround the
limitation.

Do a "git repo-config core.filemode false" to almost
disable the checks for exec bit.


After git update-index --refresh you shouldn't have had
the diffs (unless you actually had textual changes).


Now do a git reset --hard and you should be set,
unless you're unlucky enough to work on FAT,
where probably nothing will save you.

And avoid using any "special" characters (8bit, utf/unicode)
in filenames, while you're on windows: you'll never be able
to share the repository (unless others agree to use your
rules for language and filesystem encoding).
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
how to revert changes in working tree?, Liu Yubao, (Wed Dec 6, 2:49 am)
Re: how to revert changes in working tree?, Alex Riesen, (Wed Dec 6, 4:43 am)
Re: how to revert changes in working tree?, Liu Yubao, (Wed Dec 6, 5:57 am)
Re: how to revert changes in working tree?, Alex Riesen, (Wed Dec 6, 6:20 am)
Re: how to revert changes in working tree?, Liu Yubao, (Wed Dec 6, 7:14 am)
Re: how to revert changes in working tree?, Shawn Pearce, (Wed Dec 6, 2:13 pm)
Re: how to revert changes in working tree?, Liu Yubao, (Wed Dec 6, 9:42 pm)
Re: how to revert changes in working tree?, Juergen Ruehle, (Thu Dec 7, 3:15 am)
Re: how to revert changes in working tree?, Alex Riesen, (Wed Dec 6, 8:30 am)
speck-geostationary