I want to run git commit
using a different name and email, but Replit is making me use my Replit username (it appears in the .git/config
file). When I run this:
git config user.name "First Last"
It reverts .git/config
to use my Replit username whenever I reload the repl. How do I prevent that?
设置这些环境变量:GIT_AUTHOR_NAME、GIT_AUTHOR_EMAIL、GIT_COMMITTER_NAME、GIT_COMMITTER_EMAIL
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.