snipt

Ctrl+h for KB shortcuts

Shell Session

appends the one-line commit message from all commits in the branch

1
2
3
git merge --no-ff name-of-branch --log

# The --log flag appends the one-line commit message from all commits in the branch to be merged to the commit message, making it easier to remember what you've done.
https://snipt.net/embed/e3c439a9183e4922ce9c7e2d2077def1/
https://snipt.net/raw/e3c439a9183e4922ce9c7e2d2077def1/
e3c439a9183e4922ce9c7e2d2077def1
shell-session
Shell Session
3
2016-09-25T09:42:54
True
False
False
/api/public/snipt/56127/
appends-the-one-line-commit-message-from-all-commits-in-the-branch
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a></pre></div></td><td class="code"><div class="highlight"><pre><span id="L-1"><a name="L-1"></a><span class="go">git merge --no-ff name-of-branch --log</span> </span><span id="L-2"><a name="L-2"></a> </span><span id="L-3"><a name="L-3"></a><span class="go"># The --log flag appends the one-line commit message from all commits in the branch to be merged to the commit message, making it easier to remember what you&#39;ve done.</span> </span></pre></div> </td></tr></table>
git, log, merge
Copyrighted, illegal, or inappropriate content? Email support@snipt.net.