git-school / visualizing-git

:framed_picture: Visualize how common Git operations affect the commit graph

Home Page:http://git-school.github.io/visualizing-git/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Branch ref label does not follow HEAD on new commits if branch name has a forward slash.

stremblay opened this issue · comments

Steps to reproduce:

  1. Start from a new clean local repository.
  2. Create and checkout a branch called "feature/my_featureA" (git checkout -b feature/my_featureA)
  3. Create a few commits (git commit)

Expected result: The branch name label for "feature/my_featureA" should follow the HEAD ref as you add new commits.

Actual result: The branch name label for "feature/my_featureA" stays at the same original commit and does not move with HEAD as you add more commits.

See screenshot below:

Capture d’écran 2023-12-07 142419