cookiecutter-ansible-collec.../hooks/post_gen_project.sh
2020-08-17 20:47:55 +02:00

7 lines
172 B
Bash

#!/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