dotfiles/stowers/git/config.sh

16 lines
407 B
Bash

#!/bin/bash
COMMAND_DEPS=("git")
fallback() {
local stower_dir target_dir
stower_dir="$1"
target_dir="$2"
git config --global user.name "Hans Goor"
git config --global user.email "me@eyedevelop.org"
git config --global commit.gpgSign true
git config --global push.autoSetupRemote true
git config --global init.defaultBranch main
git config --global pull.rebase true
}