git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/.gitconfig
Commit message (Collapse)AuthorAgeFilesLines
* + credential helper, + memory windowH. P. 2024-05-251-0/+6
2022-03-191-0/+74
{ color: #aa5500 } /* Literal.String.Double */ .highlight .se { color: #aa5500 } /* Literal.String.Escape */ .highlight .sh { color: #aa5500 } /* Literal.String.Heredoc */ .highlight .si { color: #aa5500 } /* Literal.String.Interpol */ .highlight .sx { color: #aa5500 } /* Literal.String.Other */ .highlight .sr { color: #009999 } /* Literal.String.Regex */ .highlight .s1 { color: #aa5500 } /* Literal.String.Single */ .highlight .ss { color: #0000aa } /* Literal.String.Symbol */ .highlight .bp { color: #00aaaa } /* Name.Builtin.Pseudo */ .highlight .fm { color: #00aa00 } /* Name.Function.Magic */ .highlight .vc { color: #aa0000 } /* Name.Variable.Class */ .highlight .vg { color: #aa0000 } /* Name.Variable.Global */ .highlight .vi { color: #aa0000 } /* Name.Variable.Instance */ .highlight .vm { color: #aa0000 } /* Name.Variable.Magic */ .highlight .il { color: #009999 } /* Literal.Number.Integer.Long */
#!/usr/bin/env sh
rm -rf ./git-prompt
git -c submodule.sha1collisiondetection.update=none clone --no-checkout --depth 1 https://github.com/git/git.git ./git-prompt &&\
(
	cd ./git-prompt || exit 110
	#mkdir -pv contrib/completion || exit 111
	#git show HEAD:contrib/completion/git-prompt.sh > contrib/completion/git-prompt.sh || exit 112
	git restore --staged contrib/completion/git-prompt.sh
	git checkout contrib/completion/git-prompt.sh
	# if you can't cope with git reporting a truckload of deleted files, do this:
	#rm -rf .git
	# ...mind you this will alwasys pull in the whole repository on checkout/clone.
)