[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master ea8ce0f 2/2: Add some handy commands to cut a
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master ea8ce0f 2/2: Add some handy commands to cut and paste |
Date: |
Tue, 25 Aug 2020 06:24:21 -0400 (EDT) |
branch: master
commit ea8ce0fef478f86e2584c38dd6bc141ac8937285
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Add some handy commands to cut and paste
---
gwc/develop1.txt | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/gwc/develop1.txt b/gwc/develop1.txt
index cd5be00..99d4cb6 100644
--- a/gwc/develop1.txt
+++ b/gwc/develop1.txt
@@ -29,6 +29,11 @@ git commit one_file another_file -m"One set of changes"
git commit --all -m"Another set of changes"
git push
+ # ...commit only up to {second-to-last; a specific} commit
+
+git push origin HEAD^1:master
+git push origin SHA1:master
+
# ...commit a change to cvs repository
export CVS_RSH="ssh"