git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
blob: e66097980cf4e297c6a3d3d619047ae1f43cfc68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# 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.