login
Header Space

 
 

Re: how to revert changes in working tree?

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Alex Riesen <raa.lkml@...>
Cc: <git@...>
Date: Wednesday, December 6, 2006 - 7:14 am

Alex Riesen wrote:

Oh, another mistake, I have heard fetch+merge is recommended.


Thanks, I will dig it.

Yes, immediately after git reset --hard. I'm sure I have write
permission because all deleted files come back and no "permission
denied" like message appears.

I will try to run git in debugger, wish I can get the reason.

I didn't run "git merge" after "git reset --hard" indeed. To get the message
from "git merge", now I run it like this:

$ git merge "sync from origin" HEAD origin
Updating 088406b..ff51a98
include/linux/netfilter/xt_CONNMARK.h: needs update
include/linux/netfilter/xt_DSCP.h: needs update
include/linux/netfilter/xt_MARK.h: needs update
include/linux/netfilter_ipv4/ipt_CONNMARK.h: needs update
include/linux/netfilter_ipv4/ipt_DSCP.h: needs update
include/linux/netfilter_ipv4/ipt_ECN.h: needs update
include/linux/netfilter_ipv4/ipt_MARK.h: needs update
include/linux/netfilter_ipv4/ipt_TCPMSS.h: needs update
include/linux/netfilter_ipv4/ipt_TOS.h: needs update
include/linux/netfilter_ipv4/ipt_TTL.h: needs update
include/linux/netfilter_ipv6/ip6t_HL.h: needs update
include/linux/netfilter_ipv6/ip6t_MARK.h: needs update
net/ipv4/netfilter/ipt_ECN.c: needs update
net/ipv4/netfilter/ipt_TOS.c: needs update
net/ipv4/netfilter/ipt_TTL.c: needs update
net/ipv6/netfilter/ip6t_HL.c: needs update
net/netfilter/xt_CONNMARK.c: needs update
net/netfilter/xt_DSCP.c: needs update
net/netfilter/xt_MARK.c: needs update
fatal: Entry 'net/ipv4/netfilter/ipt_ECN.c' not uptodate. Cannot merge.

I really have never modified these files manually.
-
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