Skip to content

Instantly share code, notes, and snippets.

@mamemomonga
Last active December 16, 2019 06:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mamemomonga/8ed65de052e475e1a64e9580231f3684 to your computer and use it in GitHub Desktop.
Save mamemomonga/8ed65de052e475e1a64e9580231f3684 to your computer and use it in GitHub Desktop.
Gitでgit config user.name, git config user.email を設定せず、環境変数で設定する

Gitでgit config user.name, git config user.email を設定せず、環境変数で設定する

export GIT_AUTHOR_NAME=ユーザ名
export GIT_AUTHOR_EMAIL=メールアドレス
export GIT_COMMITTER_NAME=$GIT_AUTHOR_NAME
export GIT_COMMITTER_EMAIL=$GIT_AUTHOR_EMAIL
export EMAIL=$GIT_AUTHOR_EMAIL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment