diff options
author | johannst <johannst@users.noreply.github.com> | 2022-03-20 21:16:42 +0000 |
---|---|---|
committer | johannst <johannst@users.noreply.github.com> | 2022-03-20 21:16:42 +0000 |
commit | 0cf0869c24bfb00dfd7884f0e40565c2859df3f3 (patch) | |
tree | 51eda79326b399e00b2fe4c56840b8ed26e52f08 /print.html | |
parent | bc55732c55a0c854f6e3c3cc40efd603907ecdcb (diff) | |
download | notes-0cf0869c24bfb00dfd7884f0e40565c2859df3f3.tar.gz notes-0cf0869c24bfb00dfd7884f0e40565c2859df3f3.zip |
deploy: 9b3a0b3c1d7afa35c5eb56a69600af841e0b78b5
Diffstat (limited to 'print.html')
-rw-r--r-- | print.html | 42 |
1 files changed, 41 insertions, 1 deletions
@@ -896,7 +896,34 @@ y yank selected text list-keys -t vi-copy list keymaps for vi-copy mode </code></pre> <h1><a class="header" href="#git1" id="git1">git(1)</a></h1> -<h2><a class="header" href="#staging" id="staging">staging</a></h2> +<h2><a class="header" href="#working-areas" id="working-areas">Working areas</a></h2> +<pre><code class="language-text">+-------------------+ --- stash -----> +-------+ +| working directory | | stash | // Shelving area. ++-------------------+ <-- stash pop -- +-------+ + | ^ + add | + | reset + v | ++-------------------+ +| staging area | ++-------------------+ + | + commit + | + v ++-------------------+ +| local repository | ++-------------------+ + | ^ + push | + | fetch / + | pull + v | ++-------------------+ +| remote repository | ++-------------------+ +</code></pre> +<h2><a class="header" href="#staging" id="staging">Staging</a></h2> <pre><code class="language-markdown"> git add -p [<file>] ............ partial staging (interactive) </code></pre> <h2><a class="header" href="#remote" id="remote">Remote</a></h2> @@ -952,6 +979,8 @@ list-keys -t vi-copy list keymaps for vi-copy mode git show --stat <commit> ................ show files changed by <commit> git show <commit> [<file>] .............. show diffs for <commit> + + git git show <commit>:<file> ............ show <file> at <commit> </code></pre> <h2><a class="header" href="#patching" id="patching">Patching</a></h2> <pre><code class="language-markdown"> git format-patch <opt> <since>/<revision range> @@ -1515,6 +1544,17 @@ gpg --verify <file>.asc <file> <bp_list>: Space separates list, eg 'command 2 5-8' to run command for breakpoints: 2,5,6,7,8. </code></pre> +<h2><a class="header" href="#watchpoints" id="watchpoints">Watchpoints</a></h2> +<pre><code class="language-markdown"> watch [-location|-l] <expr> [thread <tnum>] + Create a watchpoint for <expr>, will break if <expr> is written to. + Watchpoints respect scope of variables, -l can be used to watch the + memory location instead. + rwatch ... + Sets a read watchpoint, will break if <expr> is read from. + awatch ... + Sets an access watchpoint, will break if <expr> is written to or read + from. +</code></pre> <h2><a class="header" href="#inspection-1" id="inspection-1">Inspection</a></h2> <pre><code class="language-markdown"> info functions [<regex>] List functions matching <regex>. List all functions if no <regex> |