git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats

CONTENT

Yet another (!) approach at building up a centralized configuration.

Parts are old, parts are not done yet, we're getting there.

Information for cloning

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.