You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having some issues when running git commit in a tox environment. To be more precise, I'm trying to automate the package management process, which includes the following steps:
build the changelog;
bump the package version;
commit the changes;
pushing them to origin.
Steps to reproduce
Create a git repository
Create and activate the virtual environment and install tox
Create a README.md and a tox.ini with the following content:
git run-test-pre: PYTHONHASHSEED='643999764'
git runtests: commands[0] | git add README.md
git runtests: commands[1] | git commit -m 'Initial commit'
[master d6a8ceb] Initial commit
Committer: Name Surname <username@hostname>
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly. Run the
following command and follow the instructions in your editor to edit
your configuration file:
git config --global --edit
After doing this, you may fix the identity used for this commit with:
git commit --amend --reset-author
1 file changed, 1 insertion(+)
The author's credentials are recognized, but the commiter's are not:
git run-test-pre: PYTHONHASHSEED='2046259590'
git runtests: commands[0] | git add README.md
git runtests: commands[1] | git commit -m 'Initial commit'
[master fcc5915] Initial commit
Author: Name Surname <[email protected]>
Committer: Name Surname <username@hostname>
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly. Run the
following command and follow the instructions in your editor to edit
your configuration file:
git config --global --edit
After doing this, you may fix the identity used for this commit with:
git commit --amend --reset-author
1 file changed, 1 insertion(+)
Question
Am I missing something? Is this expected behavior or a bug?
The text was updated successfully, but these errors were encountered:
Hi everyone!
I'm having some issues when running
git commit
in atox
environment. To be more precise, I'm trying to automate the package management process, which includes the following steps:origin
.Steps to reproduce
tox.ini
with the following content:tox
The following message appears when running
tox
:Workaround
I've also tried exporting the following Git environment variables in
.~/zshrc
:and passing them to the
tox
environment usingpassenv
:passenv = GIT_AUTHOR_NAME GIT_COMMITER_NAME GIT_AUTHOR_EMAIL GIT_COMMITER_EMAIL
The author's credentials are recognized, but the commiter's are not:
Question
Am I missing something? Is this expected behavior or a bug?
The text was updated successfully, but these errors were encountered: