From 21de4609ddf376d8130ed733aa1d155101a0c7da Mon Sep 17 00:00:00 2001 From: Silvino Date: Sat, 8 Jun 2019 01:53:50 +0100 Subject: dev git added reset to work doc --- dev/git/work.html | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'dev') diff --git a/dev/git/work.html b/dev/git/work.html index 7f97af5..3111eaf 100644 --- a/dev/git/work.html +++ b/dev/git/work.html @@ -82,6 +82,12 @@ gloga () { $ git rebase -i oldest_commit_to_rewrite +

Undo last commit;

+ +
+    $ git reset --soft HEAD~1
+    
+

2.2. Logs, diff commits

Create patch files to target branch/tag/ref;

-- cgit 1.4.1-2-gfad0