cookiecutter / cookiecutter/cookiecutter

Idea: pull default name/email from gitconfig or similar

Open
#628 1 comment 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
25.1k
Forks
2.3k
PR merge metrics
No merged PRs in 30d

Description

Eg: cookiecutter could take values from `~/.gitconfig` (or `~/.hgrc`) for name and email.

It would require some special syntax in the cookiecutter.json to tell cookiecutter to pull the default value from the gitconfig, eg:
- `"name": "{{ name }}"`
- `"name": {"from": "name", "default": "John Doe"}`
- ...

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.