Adding git config
This commit is contained in:
16
git/setup.sh
Executable file
16
git/setup.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
function setup_git()
|
||||
{
|
||||
brew install git
|
||||
|
||||
cat << EOF > ${HOME}/.gitconfig
|
||||
[include]
|
||||
path = ${DOTFILES}/git/gitconfig
|
||||
[core]
|
||||
excludesfile = ${DOTFILES}/git/gitignore_global
|
||||
EOF
|
||||
}
|
||||
|
||||
export DOTFILES=/Users/thomas/dotfiles
|
||||
setup_git
|
||||
Reference in New Issue
Block a user