Re:Git koans
by aidenn0 on Monday April 08, 2013 @01:05PM
(#5512943)
Yeah, named branches in hg are just weird.
[ Parent
| on HN ]
Not as weird as hijacking the term "branch" to mean a symlink to a ref that is not part of the history. Then again why make it easier by naming it to something more intuitive, like say, "bookmark".
Because a bookmark is usually immutable. If I bookmark "http://news.ycombinator.com has "Hacker News" it will be same URL forever.
In contrast, git branches symlink to a different ref, whenever you commit to it.
A git tag could be called bookmark intuitively.