scatterd-dotfiles/rcrc
Joe Ferris 56d614f806
Initialize new repositories with a main branch
New Git repositories start out without any branches, but the HEAD
reference points to "master" by default. This means that the first
commit will create a master branch.

This change adds a HEAD file to the Git template with a different ref.
This means that new repositories will commit to a "main" branch by
default instead.

The HEAD file is added to COPY_ALWAYS, because Git's HEAD must be a
regular file and not a symbolic link.
2020-06-19 14:08:12 -04:00

3 lines
114 B
Text

EXCLUDES="README*.md LICENSE"
DOTFILES_DIRS="$HOME/dotfiles-local $HOME/dotfiles"
COPY_ALWAYS="git_template/HEAD"