diff options
author | Matt Singleton <matt@xcolour.net> | 2021-02-08 10:51:37 -0600 |
---|---|---|
committer | Matt Singleton <matt@xcolour.net> | 2021-02-08 10:51:37 -0600 |
commit | 56cca67b575a171b3a6a92580f0360b6fc1fab6a (patch) | |
tree | b8a0a9e162941f5c89939248aa9d98fdea2334b3 | |
parent | bd7d28036241c9070d22de7fb88d23b24094aab0 (diff) |
include local git config
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | config/git/config | 9 | ||||
-rwxr-xr-x | deploy.sh | 3 | ||||
-rw-r--r-- | gitconfig-local | 1 |
4 files changed, 12 insertions, 2 deletions
@@ -1,3 +1,4 @@ vim/ dotfiles-backup config/zsh/zshrc-local +config/git/config-local diff --git a/config/git/config b/config/git/config index f68fed8..1823b5d 100644 --- a/config/git/config +++ b/config/git/config @@ -32,7 +32,12 @@ [diff] tool = meld + [init] - defaultBranch = main + defaultBranch = main + [pull] - ff = only + ff = only + +[include] + path = config-local @@ -44,3 +44,6 @@ vim +BundleClean +qall if [ ! -e config/zsh/zshrc-local ]; then cp zshrc-local config/zsh/zshrc-local fi +if [ ! -e config/git/config-local ]; then + cp gitconfig-local config/git/config-local +fi diff --git a/gitconfig-local b/gitconfig-local new file mode 100644 index 0000000..8076467 --- /dev/null +++ b/gitconfig-local @@ -0,0 +1 @@ +# Local (not source-controlled) overrides go here |