aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/git.html
diff options
context:
space:
mode:
Diffstat (limited to 'tools/git.html')
-rw-r--r--tools/git.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/git.html b/tools/git.html
index 68ee78f..db1f9d6 100644
--- a/tools/git.html
+++ b/tools/git.html
@@ -204,6 +204,11 @@
| remote repository |
+-------------------+
</code></pre>
+<h2 id="config"><a class="header" href="#config">Config</a></h2>
+<pre><code class="language-markdown"> git config --list --show-origin ..... list currently set configs and where
+ they are coming from
+ git --edit [--global] ............... open config in editor (local or global)
+</code></pre>
<h2 id="clean"><a class="header" href="#clean">Clean</a></h2>
<pre><code class="language-markdown"> git clean -X ......... remove only ignored files (-n for dry run)
git clean -f -d -x ... remove untracked &amp; ignored files / folders