lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] valyuta/004 9a03ce9 10/11: Add a handy git command


From: Greg Chicares
Subject: [lmi-commits] [lmi] valyuta/004 9a03ce9 10/11: Add a handy git command
Date: Sun, 20 Dec 2020 17:40:11 -0500 (EST)

branch: valyuta/004
commit 9a03ce92d5c9c3cbfea10f228c3ac4bd9f88baf0
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Add a handy git command
---
 gwc/develop1.txt | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gwc/develop1.txt b/gwc/develop1.txt
index 9ebed81..48086d7 100644
--- a/gwc/develop1.txt
+++ b/gwc/develop1.txt
@@ -172,6 +172,10 @@ git checkout .
 
 git switch --detach [sha1sum]
 
+  # ...and undo that switch (after stashing any changes)
+
+git switch -
+
   # Obliterate unpushed commits
 
 git reset --hard origin/master



reply via email to

[Prev in Thread] Current Thread [Next in Thread]