snipt

Ctrl+h for KB shortcuts

Text only

Update last commit message

git commit --amend -m "xxxx merge into xx resolve conflict"
https://snipt.net/embed/4b22fc4298bdcb821c6e3618c53d674c/
/raw/4b22fc4298bdcb821c6e3618c53d674c/
4b22fc4298bdcb821c6e3618c53d674c
text
Text only
1
2024-05-08T01:15:46
True
False
False
/api/public/snipt/119/
update-last-commit-message
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>git commit --amend -m &quot;xxxx merge into xx resolve conflict&quot; </span></pre></div> </td></tr></table>
git
1
2
3
4
--- 
+++ 
@@ -1 +1 @@
-git commit --amend -m "xx merge into yy conflict resolved"+git commit --amend -m "xxxx merge into xx resolve conflict"
1
2
3
4
--- 
+++ 
@@ -1 +1 @@
-git commit --amend -m "New commit message."+git commit --amend -m "xx merge into yy conflict resolved"
1
2
3
4
--- 
+++ 
@@ -0,0 +1 @@
+git commit --amend -m "New commit message."