Follow

mkdir ~/.config/git/template
echo "ref: refs/heads/main" > ~/.config/git/template/HEAD
git config --global init.templateDir ~/.config/git/template

(Details: stackoverflow.com/a/50880622/2)

· · Web · 0 · 3 · 3
Sign in to participate in the conversation
chaos.social

chaos.social – a Fediverse instance for & by the Chaos community