<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Git on The Total Token Vortex</title><link>https://total-token-vortex.vercel.app/tags/git/</link><description>Recent content in Git on The Total Token Vortex</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>© 2026 Maciej Kalisiak</copyright><lastBuildDate>Tue, 20 Aug 2024 17:09:00 +0000</lastBuildDate><atom:link href="https://total-token-vortex.vercel.app/tags/git/index.xml" rel="self" type="application/rss+xml"/><item><title>Getting the pretty 'tree' for 'git log'</title><link>https://total-token-vortex.vercel.app/posts/2024/getting-the-pretty-tree-for-git-log/</link><pubDate>Tue, 20 Aug 2024 17:09:00 +0000</pubDate><guid>https://total-token-vortex.vercel.app/posts/2024/getting-the-pretty-tree-for-git-log/</guid><description>&lt;p&gt;See: &lt;a href="https://stackoverflow.com/questions/1057564/pretty-git-branch-graphs" target="_blank" rel="noreferrer"&gt;https://stackoverflow.com/questions/1057564/pretty-git-branch-graphs&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In short, can use this one-liner:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;git log &amp;ndash;all &amp;ndash;decorate &amp;ndash;oneline &amp;ndash;graph&lt;/p&gt;
&lt;/blockquote&gt;&lt;p&gt;You can also make this into its own &amp;lsquo;git&amp;rsquo; command (&amp;lsquo;git adog&amp;rsquo;) using:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt; git config &amp;ndash;global alias.adog &amp;ldquo;log &amp;ndash;all &amp;ndash;decorate &amp;ndash;oneline &amp;ndash;graph&amp;rdquo;&lt;/p&gt;</description></item><item><title>The many merge options for 'git pull'</title><link>https://total-token-vortex.vercel.app/posts/2024/the-many-merge-options-for-git-pull/</link><pubDate>Tue, 20 Aug 2024 17:03:00 +0000</pubDate><guid>https://total-token-vortex.vercel.app/posts/2024/the-many-merge-options-for-git-pull/</guid><description>&lt;p&gt;Ran into this (massive hint printout from git when attempting pull)&lt;/p&gt;
&lt;blockquote&gt;&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Hint: You have divergent branches and need to specify how to reconcile them.
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Hint: You can do so by running one of the following commands sometime before
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Hint: your next pull:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Hint: 
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Hint: git config pull.rebase false # merge
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Hint: git config pull.rebase true # rebase
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Hint: git config pull.ff only # fast-forward only
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Hint: 
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Hint: You can replace &amp;#34;git config&amp;#34; with &amp;#34;git config --global&amp;#34; to set a default
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Hint: preference for all repositories. You can also pass --rebase, --no-rebase,
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Hint: or --ff-only on the command line to override the configured default per
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Hint: invocation.
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Git failed with a fatal error.
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Git failed with a fatal error.
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Need to specify how to reconcile divergent branches.&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/blockquote&gt;&lt;p&gt;And then thankfully came across this &lt;a href="https://stackoverflow.com/questions/71768999/how-to-merge-when-you-get-error-hint-you-have-divergent-branches-and-need-to-s" target="_blank" rel="noreferrer"&gt;VERY informative StackOverflow post&lt;/a&gt;:&lt;/p&gt;</description></item></channel></rss>