인프런 커뮤니티 질문&답변
git을 올릴 때 문제가 발생이 됩니다
작성
·
2.4K
0
계속 오류가 발생이 되어서요 ㅠㅠ
어떻게 해결을 해야 할지 모르겠습니다.
remote: error: GH007: Your push would publish a private email address.
remote: You can make your email public or disable this protection by visiting:
remote: http://github.com/settings/emails
To https://github.com/Leeseunjib/my_project_market_react.git
! [remote rejected] master -> master (push declined due to email privacy restrictions)
error: failed to push some refs to 'https://github.com/Leeseunjib/my_project_market_react.git'
PS C:\Users\user\Desktop\warp_project_market\warpmarket\my_project_market_react_done> git remote add origin https://github.com/Leeseunjib/my_project_market_react.git
error: remote origin already exists.
PS C:\Users\user\Desktop\warp_project_market\warpmarket\my_project_market_react_done> git branch -M main
PS C:\Users\user\Desktop\warp_project_market\warpmarket\my_project_market_react_done> git push -u origin main
Enumerating objects: 52, done.
Counting objects: 100% (52/52), done.
Delta compression using up to 20 threads
Compressing objects: 100% (50/50), done.
Writing objects: 100% (52/52), 2.52 MiB | 2.82 MiB/s, done.
Total 52 (delta 0), reused 0 (delta 0), pack-reused 0
remote: error: GH007: Your push would publish a private email address.
remote: You can make your email public or disable this protection by visiting:
remote: http://github.com/settings/emails
To https://github.com/Leeseunjib/my_project_market_react.git
! [remote rejected] main -> main (push declined due to email privacy restrictions)
error: failed to push some refs to 'https://github.com/Leeseunjib/my_project_market_react.git'
PS C:\Users\user\Desktop\warp_project_market\warpmarket\my_project_market_react_done>
답변 1
1
안녕하세요
처음 보는에러인데 git bash 에서 이메일세팅 해주셨는지 값은 잘 들어가있는지 확인 부탁드립니다
해당에러를 검색해보니 이 답변이 도움이 되실것 같습니다
https://stackoverflow.com/questions/43378060/meaning-of-the-github-message-push-declined-due-to-email-privacy-restrictions





