astropy / package-template

Template for packages that use Astropy. Maintainer: @astrofrog
http://docs.astropy.org/projects/package-template/en/latest/
Other
60 stars 63 forks source link

Add cookiecutter Q to init git #489

Closed nstarman closed 11 months ago

nstarman commented 3 years ago

Add a question, default no, to try and initialize the git repository using gitpython. Thanks @Cadair for the code.

@Cadair @mwcraig. If a gitpython solution isn't recommended, we could manually cd to the folder and run git init . Reduce package dependency.

Fixes #479

Signed-off-by: Nathaniel Starkman nstarkman@protonmail.com

nstarman commented 3 years ago

Ping @Cadair. Is cd'ing better than gitpython?

pllim commented 11 months ago

See https://github.com/astropy/package-template#deprecation-warning