On Mon, Dec 31, 2007 at 03:02:25PM +0800, Ping Yin wrote: > Sorry for my inattention. However, i remembered the reason i added > '--hard' is to avoid the warn 'foo.txt: needs update' when 'git > reset HEAD^'. Now i know '--soft' will do the right thing. > > So how about use '--soft' as default in the bare repository? I started on this when I realized that --soft doesn't even work. I remember posting a patch to make --soft work in a bare repo when git-reset was still a script. However, Junio indicated that using "git branch -f" is the recommended workflow. Perhaps git-reset should be disabled in bare repos totally? -Peff - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html