Nathan, On Nov 13, 3:45 pm, Nathan Kinsinger <[email protected]> wrote: > On Nov 12, 2010, at 9:14 PM, Yaroslav Tykhiy wrote: > > > I've recently come across GitX and found it invaluable for inspecting > > a project's history. Thanks so much for a great job, folks! > > > However, neither Pieter's stable version nor Nathan's experimental > > snapshot seems to show commits on anonymous branches, e.g., those > > resulting from a git-reset or a git-commit to a detached HEAD. Do you > > think GitX can discover anonymous branches at least in theory? Or did > > I miss a feature that was already there? > > While you are still on the detached HEAD there will be a branch called > "detached HEAD" in the sidebar in my fork or the branch menu of Pieter's. > > If you checkout another branch after making changes to the detached HEAD then > no, GitX will not be able to show that. Use git-reflog to view your recent > history and checkout the commit by it's SHA. Then you can add a branch or tag > to it.
How fundamental do you think this limitation is? On the one hand, I'm pretty much aware of get-reflog but the ability to recover lost branches in a nice GUI pinpointing them with color tags would be a real winner. On the other hand, I realize that it may be impossible without getting bogged down in the $GIT_DIR internals. Hence my curiosity. Thanks, Yar
