Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change Python Poetry initializing new project with undesired pyproject.toml authors

When I initialize a Python project using

poetry new <name>

I find in the * pyproject.toml* an undesired author by default. How can I change this author?

like image 529
user1315621 Avatar asked Jan 21 '26 05:01

user1315621


1 Answers

to solve this issue change the git config info. navigate to a specific project or just do it globally.

git config --list

you should now see your user name and email address. change them using the following commands.

git config --global user.name 'your user name'
git config --global user.email 'your email address'
like image 167
zara kolagar Avatar answered Jan 23 '26 19:01

zara kolagar



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!