(please provide a Subject: line) "David Forman" <dforman@xxxxxxxxxxxxxxxx> writes: > I've encountered the following whenever I access Git and try to compress the > database due to loose objects. > > error: cannot lock ref 'HEAD~' > error: cannot lock ref 'refs/heads/collections~' > error: cannot lock ref 'refs/heads/master~' I'd say you've edited the files .git/HEAD, refs/heads/collections, ... manually with a text editor that leaves ~ backup files. Unless you _really_ have branches called collections~ and master~, you can move these three files (in a temporary folder, or to trash if you're confident enough). -- Matthieu -- 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