From: Junio C Hamano Date: Thu, 14 May 2015 18:49:12 GMT Subject: Re: Problem with rerere forget Message-ID: In-Reply-To: Alex Coppens writes: > git rerere forget path_to_file/file.js > > fatal: BUG: attempt to commit unlocked object That comes from commit_lock_file(); I think rerere.c:write_rr() has a call to that function and I suspect that is the call that is giving the above message. Is there any other process that is mucking with your .git/index file while you are running the command?