From: Oleg Broytman Date: Sat, 29 Apr 2017 03:28:09 +0000 (+0300) Subject: Exclude publish-docs X-Git-Url: https://git.phdru.name/?p=cookiecutter.git;a=commitdiff_plain;h=d1b4c005b7f4b2209bdd9cb3431270b04d0b922b Exclude publish-docs --- diff --git a/cookiecutter b/cookiecutter index 13073a3..c23664c 100755 --- a/cookiecutter +++ b/cookiecutter @@ -21,9 +21,11 @@ replace '{project}' "$project_name" .gitignore README.txt \ sphinx-quickstart --project="$project_name" --author="Oleg Broytman" \ -v0.0 -r0.0.1 --ext-autodoc --makefile --no-batchfile -q docs && -git init && git add . && +git init && +echo /publish-docs >>.git/info/exclude && +echo /update-remotes >>.git/info/exclude && +git add . && git commit --message "Initial commit - created the project" && git config htdocs.path "$HOME"/Internet/WWW/htdocs/phdru.name/Software/Python/"$project_name"/docs && cp -p "$HOME"/current/projects/m_lib/update-remotes . && -echo /update-remotes >>.git/info/exclude && exec ./mk-git-aliases