We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0065368 commit e9010e2Copy full SHA for e9010e2
1 file changed
installer
@@ -71,6 +71,8 @@ DOTFILES_PATH="${DOTFILES_PATH:-$HOME/.dotfiles}"
71
DOTFILES_PATH="$(eval echo "$DOTFILES_PATH")"
72
export DOTFILES_PATH="$DOTFILES_PATH"
73
74
+DOTFILES_BRANCH=${DOTFILES_BRANCH:-main}
75
+
76
dotly_inner_path="modules/dotly"
77
export DOTLY_PATH="$DOTFILES_PATH/$dotly_inner_path"
78
@@ -140,7 +142,7 @@ if ! command_exists curl; then
140
142
fi
141
143
144
_a "Initializing your dotfiles git repository"
-git init 2>&1 | _log "Initializing repository"
145
+git init --initial-branch="$DOTFILES_BRANCH" 2>&1 | _log "Initializing repository"
146
147
_a "Cloning dotly"
148
git submodule add -b "$DOTLY_BRANCH" "https://github.com/$DOTLY_REPOSITORY.git" "$dotly_inner_path" 2>&1 | _log "Adding dotly submodule"
0 commit comments