Git

Multi-user with dirvenv

To summarize, export following environment variables in .envrc:

export GIT_AUTHOR_NAME="Foo Bar"
export GIT_AUTHOR_EMAIL="foo@bar.com"
export GIT_COMMITTER_NAME="Foo Bar"
export GIT_COMMITTER_EMAIL="foor@bar.com"

See https://knpw.rs/blog/multiple-git-users for more details.

Resources

Last updated