About commit email addresses
GitHub uses your commit email address to associate commits with your account on GitHub. You can choose the email address that will be associated with the commits you push from the command line as well as web-based Git operations you make.
For web-based Git operations, you can set your commit email address on GitHub. For commits you push from the command line, you can set your commit email address in Git.
Any commits you made prior to changing your commit email address are still associated with your previous email address.
참고 항목
일회용 메일 주소 서비스(특정 시간 후에 만료되는 임시 주소에서 메일을 받을 수 있는 서비스)의 메일 주소는 확인할 수 없습니다. 메일 주소를 프라이빗으로 유지하려는 경우 GitHub에서 제공한 noreply
메일 주소를 사용할 수 있습니다. 자세한 내용은 Setting your commit email address을(를) 참조하세요.
To use your noreply
email address for commits you push from the command line, use that email address when you set your commit email address in Git. To use your noreply
address for web-based Git operations, set your commit email address on GitHub and choose to Keep my email address private.
You can also choose to block commits you push from the command line that expose your personal email address. For more information, see Blocking command line pushes that expose your personal email address.
To ensure that commits are attributed to you and appear in your contributions graph, use an email address that is connected to your account on GitHub, or the noreply
email address provided to you in your email settings. For more information, see Adding an email address to your GitHub account.
참고 항목
If you created your account after July 18, 2017, your noreply
email address is an ID number and your username in the form of ID+USERNAME@users.noreply.github.com
. If you created your account prior to July 18, 2017, and enabled Keep my email address private prior to that date, your noreply
email address is USERNAME@users.noreply.github.com
. You can get an ID-based noreply
email address by selecting (or deselecting and reselecting) Keep my email address private in your email settings.
If you use your noreply
email address for GitHub to make commits and then change your username, those commits will not be associated with your account. This does not apply if you're using the ID-based noreply
address from GitHub. For more information, see Changing your GitHub username.
Setting your commit email address on GitHub
메일 주소 개인정보 보호를 사용하도록 설정하지 않은 경우 파일을 편집, 삭제 또는 생성하거나 사용자 인터페이스에 대한 끌어오기 요청을 병합할 때 변경 내용을 작성할 확인된 메일 주소를 선택할 수 있습니다. 이메일 프라이버시를 활성화한 경우 커밋 작성자 이메일 주소를 변경할 수 없으며 기본적으로 회신 불가입니다. 회신 불가 이메일 주소의 정확한 형식에 대한 자세한 내용은 Setting your commit email address을(를) 참조하세요.
-
GitHub의 페이지 오른쪽 상단에서 프로필 사진을 선택한 다음, 설정을 선택합니다.
-
사이드바의 "액세스" 섹션에서 이메일을 클릭합니다.
-
“이메일 주소 추가”에 이메일 주소를 입력하고 추가를 클릭합니다.
-
“기본 메일 주소” 드롭다운 메뉴에서 웹 기반 Git 작업과 연결할 메일 주소를 선택합니다.
-
웹 기반 Git 작업을 수행할 때 이메일 주소를 비공개로 유지하려면 내 이메일 주소를 비공개로 유지를 클릭합니다.
Setting your commit email address in Git
You can use the git config
command to change the email address you associate with your Git commits. The new email address you set will be visible in any future commits you push to GitHub from the command line. Any commits you made prior to changing your commit email address are still associated with your previous email address.
Setting your email address for every repository on your computer
-
터미널터미널Git Bash를 엽니다.
-
Git에서 이메일 주소를 설정합니다. GitHub에서 제공한
noreply
메일 주소 또는 모든 메일 주소를 사용할 수 있습니다.git config --global user.email "YOUR_EMAIL"
-
Git에서 메일 주소를 올바르게 설정했는지 확인합니다.
$ git config --global user.email email@example.com
-
GitHub에서 계정에 메일 주소를 추가하여 커밋이 귀속되고 기여 그래프에 표시되도록 합니다. 자세한 내용은 Adding an email address to your GitHub account을(를) 참조하세요.
Setting your email address for a single repository
GitHub uses the email address set in your local Git configuration to associate commits pushed from the command line with your account on GitHub.
You can change the email address associated with commits you make in a single repository. This will override your global Git configuration settings in this one repository, but will not affect any other repositories.
-
터미널터미널Git Bash를 엽니다.
-
Change the current working directory to the local repository where you want to configure the email address that you associate with your Git commits.
-
Git에서 이메일 주소를 설정합니다. GitHub에서 제공한
noreply
메일 주소 또는 모든 메일 주소를 사용할 수 있습니다.git config user.email "YOUR_EMAIL"
-
Git에서 메일 주소를 올바르게 설정했는지 확인합니다.
$ git config user.email email@example.com
-
GitHub에서 계정에 메일 주소를 추가하여 커밋이 귀속되고 기여 그래프에 표시되도록 합니다. 자세한 내용은 Adding an email address to your GitHub account을(를) 참조하세요.