* | 730ca89 (bolshakov) Rebase bolshakov with master | | * ab72c1e (refs/stash) WIP on develop: 5e943f5 Fix #127 git-ignore won´t add duplicates. | * | 7398d10 (nickl/develop) Fix #127 git-ignore won´t add duplicates. | | * 815db8b (nickl/git-extras-html-hyperlinks, git-extras-html-hyperlinks) help ronn make hyperlinks. | * 515e94a Merge pull request #128 from nickl-/git-extras-html-hyperlinks Output the commit history log for all branches as tree view: * 4b57684 (HEAD, develop) Merge branch upstream master. Man git show-tree shows the following example: This produces an effect similar to the 2 most upvoted answers here. Find your operating system in the installation instructions here and follow the instructions to install it: Installing git-extras. On Linux Ubuntu, I do that with sudo apt install git-extras. You have to install it as an extra utility, known as "git-extras". Note: git show-tree is not part of core git. To show all branches (including remote branches) in a tree view: TLDR use git show-tree, or the git lg alias (my preferred choice). How your branch relates to the feature branches, if it's a version branch.How your branch relates to non-feature ("version") branches, if it's a feature branch.How your branch relates to the remote repo, if it's a tracking branch.NOTE: working directory contains modified files origin/enclosed-message-display-tweaks merged in Remote branch: origin/master in sync with local Add before-search hook, for shortcuts for custom search queries. This option makes them appear in topological order (i.e., descendant commits are shown before their parents).īut the tool git wtf can help too. Git show-branch -list comes close of what you are looking for (with the topo order) -topo-orderīy default, the branches and their commits are shown in reverse chronological order. I mentioned a similar approach in 2009 with " Unable to show a Git tree in terminal": git log -graph -pretty=oneline -abbrev-commitīut the full one I have been using is in " How to display the tag name and branch name using git log -graph" (2011): git config -global alias.lgb "log -graph -pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)%Creset%n' -abbrev-commit -date=relative -branches"
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |