lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master cd80d5b 2/4: Add some useful commands


From: Greg Chicares
Subject: [lmi-commits] [lmi] master cd80d5b 2/4: Add some useful commands
Date: Wed, 29 Jan 2020 08:00:57 -0500 (EST)

branch: master
commit cd80d5bc17357b1db55003858488ef1f5e2ac84d
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Add some useful commands
---
 gwc/develop1.txt | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gwc/develop1.txt b/gwc/develop1.txt
index 99d9231..35ae930 100644
--- a/gwc/develop1.txt
+++ b/gwc/develop1.txt
@@ -123,6 +123,14 @@ git checkout -- ce_skin_name.cpp ce_skin_name.hpp
 git checkout [sha1sum] census_view.cpp
 git checkout HEAD^ census_view.cpp
 
+  # Obliterate unstaged changes
+
+git checkout .
+
+  # Obliterate unpushed commits
+
+git reset --hard origin/master
+
   # Update the local source tree (where I make my own changes) when
   # someone else has committed a change to the online master repo.
 



reply via email to

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