Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show visually that HEAD points to a branch, not usually a commit #34

Open
roryokane opened this issue Mar 25, 2015 · 0 comments
Open

Show visually that HEAD points to a branch, not usually a commit #34

roryokane opened this issue Mar 25, 2015 · 0 comments

Comments

@roryokane
Copy link

This would make the git checkout example clearer, when you git checkout bb92e0e like it suggests. Right now the only difference from git checkout master is the “Current Branch” text at the top left of the visualization, which is easily missed.

This would also make the git checkout -b example clearer. If you git checkout -b foo and git checkout -b bar, it looks like HEAD is just another branch, but colored green because it’s the most important.

It could look something like this:

Current Branch: master
  ╭────╮
--│    │
  ╰────╯
 bb92e0e…
 [master] ← [HEAD]
 [tested]
Current Branch: detached HEAD
  ╭────╮
--│    │
  ╰────╯ ↖︎
 bb92e0e… [HEAD]
 [master]
 [tested]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant