See: https://stackoverflow.com/questions/1057564/pretty-git-branch-graphs
In short, can use this one-liner:
git log –all –decorate –oneline –graph
You can also make this into its own ‘git’ command (‘git adog’) using:
git config –global alias.adog “log –all –decorate –oneline –graph”
Ran into this (massive hint printout from git when attempting pull)
Hint: You have divergent branches and need to specify how to reconcile them. Hint: You can do so by running one of the following commands sometime before Hint: your next pull: Hint: Hint: git config pull.rebase false # merge Hint: git config pull.rebase true # rebase Hint: git config pull.ff only # fast-forward only Hint: Hint: You can replace "git config" with "git config --global" to set a default Hint: preference for all repositories. You can also pass --rebase, --no-rebase, Hint: or --ff-only on the command line to override the configured default per Hint: invocation. Git failed with a fatal error. Git failed with a fatal error. Need to specify how to reconcile divergent branches. And then thankfully came across this VERY informative StackOverflow post: