git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md32
1 files changed, 26 insertions, 6 deletions
diff --git a/README.md b/README.md
index 6728444..e660979 100644
--- a/README.md
+++ b/README.md
@@ -4,10 +4,30 @@ Yet another (!) approach at building up a centralized configuration.
Parts are old, parts are not done yet, we're getting there.
-## To-Dos
+# Information for cloning
-* i3 config / sway config
-* gpg config
-* game launching stuff
-* parallel-ssh and ansible
-* ...
+## only clone git-prompt.sh
+
+This repository does not include a git-prompt.sh source. This is due to the file residing inside
+the whole git repository. Submoduling cannot just include one file, so if you need this file here,
+the checkout is... up to you, kind of.
+
+Since I am maintaining this repo for ease of distribution for myself as well, here's the solution:
+
+Trigger `/.githooks/post-checkout` inside this repo. Either do this on any checkout, or set your git
+post-checkout trigger for this file to automatically take over.
+
+## sha1collisiondetection
+
+For git-prompt, its submodule sha1collisiondetection may be "broken" (i.e. it cannot be pulled), here's a fix:
+
+`git -c submodule.sha1collisiondetection.update=none COMMAND`
+
+...whereas `COMMAND` is one of the usual actions such as
+
+```
+clone --recurse-submodules
+submodule update --init --recursive
+```
+
+This only applies if you do not use `/.githooks/post-checkout` inside this repository.