Pin branch to left in the graph 📌
Allow pinning a certain branch to the left side of the graph. All the commits in that branch's direct history should always appear on the left side. This is particularly useful for the default branch in a repository, or a prod branch, where you want to see how things are getting merged into it directionally.
Bonus: Support an ordering of multiple branches/branch patterns (would integrate nicely with Git Flow).
Under consideration Suggested by: Max A • Upvoted: today • Comments: 20
I often adopt very messy repos where best practices are inconsistent or non existent. It would be very helpful to be able to pin a specific branch to the left side of the Commit Graph. This would make it easier to visually follow the flow or commits in and out of a Base or Main Branch without having to solo it.
"Add the ability to pin a specific branch to the left side of the graph view without soloing" (suggested by Rob on 2021-06-22), including upvotes (1) and comments (0), was merged into this suggestion.
I just independently made this same suggestion in a Twitter reply. I'd love to see something done to make the behavior more predictable.
I'd also be even happier to see *auto*-pinning of branch order (or default ordering) with either left-side priority given to older created branches, or right-side priority given to branches with more recent commits (perhaps a preference). Although the latter would still reorder after a merge... :(
Obviously manual pinning allows any of these approaches, but there's still an opportunity to avoid the need for manual pinning at all if the default ordering of branches was based on something specific like this, and thus more deterministic. One UI problem this could avoid is the seemingly random reordering of branches after a merge.
Danny Pursley Merged
In the GRAPH column it would be so helpful if the MASTER release was always on the far left and then DEVELOP was always the next column to the right of MASTER and then features continued out to the right of that. Currently it seems random where the MASTER and DEVELOP paths are located making it more difficult to follow what branch is MASTER and which one is actually DEVELOP, etc.
"Organize GRAPH Column" (suggested by Danny Pursley on 2021-08-09), including upvotes (1) and comments (0), was merged into this suggestion.
Morgan Scruggs Merged
an option to keep master branch on the left or right of the tree to make it easy to follow.
"option to show master branch always on one edge of the tree" (suggested by Morgan Scruggs on 2021-09-14), including upvotes (1) and comments (0), was merged into this suggestion.
Oh, I understand why harder tracking branch history on my job repos. It causes by git-flow like branch management. I'm strongly upvote supporting this in near the future GitKraken!
I would request that we be able to ping one or two branches to the left as straight lines bottom to top with the rest as branches off to the right and between these two.
These can map very elegantly to the two dominant branches most project manage, the master/main branch and the development branch.
Whichever one is checked-out I would argue should be leftmost, and the other beside it to the right.
I would love to be able to pin the main/master branch to the left of the tree. I'm working with a slightly odd git repo which has many small branches that are all getting contributed to regularly. I often lose the master branch within the others as they await to be validated and merged in.
I'd like to add my upvote to this request, it'd be very handy!
I badly want this. My workplace refuse to use a linear history because of the perceived difficulty of rebasing. Jetbrains IDEs and the **free** git extensions are able to do this.
Great idea, in our git flow there are few "static" branches that could be pinned (dev, release-candidate, prod)
and many temporary branches (features, and fixes)
being able to pin the static branches can simplify significantly the graph complexity and the constant movement of the branches.
would be nice if the "pin" could work on regexes, so I can configure something like:
were the rc refers to any branch start with rc: rc/1.1.1, rc/1.2 etc.
I would like to see an option for strictly time based ordering of the graph. It should be simple enough to order all the branches/nodes by creation date so that the graph is historically accurate from bottom to top, rather than the current graph which just pushes the latest worked branch to the left-most position.
This will make it much clearer for users where they're editing code. Muliple pins are essential - for example we have a prod and dev branch, where further branches are taken from. Some kind of left to right auto formatting may be the solution here.
Also highlighting the 'working' branch, or allowing colour selection as well as pinning or setting left to right may be further helpful.
I would very much like this feature. Even just a single pinned branch would help me greatly.
I second this!
(I was searching for this option and found this request instead)
I would really like this feature as well
Pin branch, fav branch, anything to be able to retrieve a branch easier when switching between one and another in a busy repository that has 20 employees in it. I often find myself helping others too a crtiical bugs, so highlighting my own branches is not enough, and I do not clean my local branches because I'm messy, I use the filter instead.
Chris Bowie Admin
"Add possibility to PIN a branch on the origin" (suggested by Paolo Ponznao on 2023-02-11), including upvotes (1) and comments (0), was merged into this suggestion.