diff options
author | Silvino <silvino@bk.ru> | 2019-06-28 03:56:08 +0100 |
---|---|---|
committer | Silvino <silvino@bk.ru> | 2019-06-28 03:56:08 +0100 |
commit | 2251cea98a0d9ecf9f94db15fa6dc526e75d038d (patch) | |
tree | b5788ad9001e2d2e37cc425ac6915806496c67e9 | |
parent | a681b4acd90664a8e3e24eba61221ee9b78e934e (diff) | |
parent | 21de4609ddf376d8130ed733aa1d155101a0c7da (diff) | |
download | doc-2251cea98a0d9ecf9f94db15fa6dc526e75d038d.tar.gz |
dev git revision
-rw-r--r-- | dev/git/work.html | 6 |
1 files changed, 6 insertions, 0 deletions
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 </pre> + <p>Undo last commit;</p> + + <pre> + $ git reset --soft HEAD~1 + </pre> + <h2 id="logdiff">2.2. Logs, diff commits</h2> <p>Create patch files to target branch/tag/ref;</p> |