Jeff King <peff@xxxxxxxx> writes: > And then the "push to current branch" problem is neatly solved: you have > no current branch. > > So: > > $ git checkout new/branch/to/test^0 > $ make, configure, etc Exactly. I keep a handful pseudo worktrees around (created with git-new-workdir on top of a single repository) for quick patch test and build purposes. I do not push into them but pushing into a non-bare repository and checking out the same branch twice in such a setup share exactly the same issue, and I keep their HEADs all detached for exactly the same reason. -- 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