Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ignore GIT_AUTHOR_NAME and use local config instead #7075

Unanswered
fauzanashari asked this question in Q&A
Discussion options

Hello, I just working in coder when I set git username with git config --local user.name fauzan it's changed then I doing my several commit. Something wrong here when I see the logs the author name is not same as I configured before. After debugging with env | grep GIT I just found that variable GIT_AUTHOR_NAME whom change it's author name in logs. The question is how to ignore or unset GIT_AUTHOR_NAME and use git local config instead? thank you anyway

You must be logged in to vote

Replies: 1 comment 1 reply

Comment options

Is this for Coder or code-server? Either way, I do not believe we set GIT_AUTHOR_NAME, but if you mean Coder then it could be that your workspace template has it defined or it might be using the git-config module.

So you could modify the template, but if you are not able to do that then you might have to override it in your ~/.bashrc, maybe.

You must be logged in to vote
1 reply
Comment options

You might also be able to configure it as a parameter, depends on your template setup though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /