cookiecutter-ansible-collec.../hooks/post_gen_project.sh

7 lines
172 B
Bash
Raw Normal View History

2020-08-17 18:47:55 +00:00
#!/usr/bin/env sh
if hash git 2>/dev/null; then
git init
git remote add origin gitea@{{ cookiecutter.git_server }}/xoxys.{{ cookiecutter.collection_name }}.git
fi