lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 1b4d2a8: Improve documentation


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 1b4d2a8: Improve documentation
Date: Thu, 5 Nov 2020 16:11:04 -0500 (EST)

branch: master
commit 1b4d2a8545769b4b6495fc3e280cf4690964d257
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Improve documentation
---
 gwc/develop1.txt | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gwc/develop1.txt b/gwc/develop1.txt
index 9d34ff2..5af4061 100644
--- a/gwc/develop1.txt
+++ b/gwc/develop1.txt
@@ -108,9 +108,13 @@ git commit sandbox_test.cpp
 git switch master
 git push origin odd/foo
 
-  # to transplant already-pushed commits to a new branch--see:
+  # to transplant unpushed commits to a new branch--see:
   #   https://lists.nongnu.org/archive/html/lmi/2020-09/msg00034.html
+  # this git-branch command creates a new branch with the given name,
+  # which points to HEAD; but it does not switch to that branch...
 git branch odd/foo
+  # ...and therefore this git-reset command affects the current
+  # branch (e.g., 'master'), but does not affect the new branch:
 git reset --keep origin/master
   # specify upstream on the first push (ignore if it's never pushed)
 git push --set-upstream origin odd/foo



reply via email to

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