]> git.phdru.name Git - cookiecutter.git/commitdiff
Put project_name into .git/description
authorOleg Broytman <phd@phdru.name>
Sat, 9 Dec 2017 18:21:38 +0000 (21:21 +0300)
committerOleg Broytman <phd@phdru.name>
Sat, 9 Dec 2017 18:21:38 +0000 (21:21 +0300)
mk-project

index 18c1a1ccb0a53ec4daaf3d2e66be4d8558ccbde5..4674ef0c67d40ab65612eff12d08965bc813203a 100755 (executable)
@@ -22,6 +22,7 @@ sphinx-quickstart --project="$project_name" --author="Oleg Broytman" \
    -v0.0 -r0.0.1 --ext-autodoc --makefile --no-batchfile -q docs &&
 
 git init &&
+echo "$project_name" >.git/description &&
 echo /publish-docs >>.git/info/exclude &&
 echo /update-remotes >>.git/info/exclude &&
 git add . &&