From 63212b943ca4cea08318df8cab3ead32054b4801 Mon Sep 17 00:00:00 2001 From: matijs Date: Sat, 8 Aug 2026 09:06:52 +0200 Subject: [PATCH] Update README.md to set the default branch on init Update README.md to set the default branch to `dotfiles` upon initialisation to make git a little less noisy. --- .github/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/README.md b/.github/README.md index cd5706c..0337727 100644 --- a/.github/README.md +++ b/.github/README.md @@ -16,7 +16,7 @@ not how it's set up and it's not tested. ```bash ~ $ export GIT_DIR="${HOME}/.dotfiles" -~ $ git --work-tree="${HOME}" init +~ $ git --work-tree="${HOME}" -c init.defaultBranch=dotfiles init # versions of git before 2.46.0 do not know the `set` subcommand in the command # below so leave it out ~ $ git config set status.showUntrackedFiles no