[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 5d8c62c 1/2: Add another little git recipe
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 5d8c62c 1/2: Add another little git recipe |
Date: |
Mon, 21 Sep 2020 22:24:35 -0400 (EDT) |
branch: master
commit 5d8c62c81f34ba8ce458fceb3cc5630c2aa843d4
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Add another little git recipe
---
gwc/develop1.txt | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/gwc/develop1.txt b/gwc/develop1.txt
index 7c3b886..58aca8d 100644
--- a/gwc/develop1.txt
+++ b/gwc/develop1.txt
@@ -46,6 +46,10 @@ cvs commit -m "Modify foo webpage" bar.html
git mv lmi.rc lmi_msw_res.rc
+ # Reuse commit message when commit originally failed
+
+git commit --edit --file=.git/COMMIT_EDITMSG -- [files]
+
# Make a patch against repository from local tree
git diff file0.cpp file1.cpp >some_new_file