Revert "Travis config trial: git config --global"
Avoids messing with global config when running the script manually on a developer machine. This reverts commit 6225092355e3087c3e73928f54cc1073c55067d6.
This commit is contained in:
parent
4575f93431
commit
2875b57616
@ -64,8 +64,8 @@ gh_pages_prepare()
|
||||
git clone --single-branch -b gh-pages ${GHPAGES_URL} html
|
||||
cd html
|
||||
# setup git config (with defaults)
|
||||
git config --global user.name "${GIT_NAME-travis}"
|
||||
git config --global user.email "${GIT_EMAIL-"travis@localhost"}"
|
||||
git config user.name "${GIT_NAME-travis}"
|
||||
git config user.email "${GIT_EMAIL-"travis@localhost"}"
|
||||
# clean working dir
|
||||
rm -f .git/index
|
||||
git clean -df
|
||||
|
Loading…
x
Reference in New Issue
Block a user