Cannot push from git
When I am using git push, it shows
remote: You must verify your email address.
remote: See https://github.com/settings/emails.
fatal: unable to access 'https://github.com/mynickname/reponame.git/': The requested URL returned error: 403
But I already verified my email address.
On the other hand, I can pull and add, only push is not available. I can also push by using Github Desktop.
Could someone help me? Many thanks
github
add a comment |
When I am using git push, it shows
remote: You must verify your email address.
remote: See https://github.com/settings/emails.
fatal: unable to access 'https://github.com/mynickname/reponame.git/': The requested URL returned error: 403
But I already verified my email address.
On the other hand, I can pull and add, only push is not available. I can also push by using Github Desktop.
Could someone help me? Many thanks
github
1
Does runninggit config --get user.email
on the computer you are pushing from give the same email you verified?
– PeterSW
Nov 12 '18 at 22:45
1
Yes, they are the same
– Leo
Nov 12 '18 at 22:47
1
This question sounds related: stackoverflow.com/questions/45551143/… and has an answer that might be of help for you.
– PeterSW
Nov 12 '18 at 22:52
I just tried this method, but still not working. I didn't change my username before. And I am using Mac OS, it's not feasible to delete user information like that...
– Leo
Nov 12 '18 at 23:05
add a comment |
When I am using git push, it shows
remote: You must verify your email address.
remote: See https://github.com/settings/emails.
fatal: unable to access 'https://github.com/mynickname/reponame.git/': The requested URL returned error: 403
But I already verified my email address.
On the other hand, I can pull and add, only push is not available. I can also push by using Github Desktop.
Could someone help me? Many thanks
github
When I am using git push, it shows
remote: You must verify your email address.
remote: See https://github.com/settings/emails.
fatal: unable to access 'https://github.com/mynickname/reponame.git/': The requested URL returned error: 403
But I already verified my email address.
On the other hand, I can pull and add, only push is not available. I can also push by using Github Desktop.
Could someone help me? Many thanks
github
github
asked Nov 12 '18 at 22:40
LeoLeo
112
112
1
Does runninggit config --get user.email
on the computer you are pushing from give the same email you verified?
– PeterSW
Nov 12 '18 at 22:45
1
Yes, they are the same
– Leo
Nov 12 '18 at 22:47
1
This question sounds related: stackoverflow.com/questions/45551143/… and has an answer that might be of help for you.
– PeterSW
Nov 12 '18 at 22:52
I just tried this method, but still not working. I didn't change my username before. And I am using Mac OS, it's not feasible to delete user information like that...
– Leo
Nov 12 '18 at 23:05
add a comment |
1
Does runninggit config --get user.email
on the computer you are pushing from give the same email you verified?
– PeterSW
Nov 12 '18 at 22:45
1
Yes, they are the same
– Leo
Nov 12 '18 at 22:47
1
This question sounds related: stackoverflow.com/questions/45551143/… and has an answer that might be of help for you.
– PeterSW
Nov 12 '18 at 22:52
I just tried this method, but still not working. I didn't change my username before. And I am using Mac OS, it's not feasible to delete user information like that...
– Leo
Nov 12 '18 at 23:05
1
1
Does running
git config --get user.email
on the computer you are pushing from give the same email you verified?– PeterSW
Nov 12 '18 at 22:45
Does running
git config --get user.email
on the computer you are pushing from give the same email you verified?– PeterSW
Nov 12 '18 at 22:45
1
1
Yes, they are the same
– Leo
Nov 12 '18 at 22:47
Yes, they are the same
– Leo
Nov 12 '18 at 22:47
1
1
This question sounds related: stackoverflow.com/questions/45551143/… and has an answer that might be of help for you.
– PeterSW
Nov 12 '18 at 22:52
This question sounds related: stackoverflow.com/questions/45551143/… and has an answer that might be of help for you.
– PeterSW
Nov 12 '18 at 22:52
I just tried this method, but still not working. I didn't change my username before. And I am using Mac OS, it's not feasible to delete user information like that...
– Leo
Nov 12 '18 at 23:05
I just tried this method, but still not working. I didn't change my username before. And I am using Mac OS, it's not feasible to delete user information like that...
– Leo
Nov 12 '18 at 23:05
add a comment |
3 Answers
3
active
oldest
votes
Most likely your git configuration is using a different email address from what you verified. Check that git config user.email
outputs the same email that you used on GitHub. If it does not, set it with git config user.email "correct@email.com"
, then try pushing again.
Yes, I have checked the email address, and they are the same and verified.
– Leo
Nov 12 '18 at 22:51
add a comment |
There is an osxkeychain in Mac, we can delete account information by using
- git config --local --unset credential.helper
- git config --global --unset credential.helper
- sudo git config --system --unset credential.helper
Just asked GitHub Support, the official solution: https://help.github.com/articles/updating-credentials-from-the-osx-keychain/
add a comment |
I have a same problem as you and I can not solve it.
But there is a second way to push you commits.
$ git remote set-url origin git@github.com:bitfish-xyz/viewport.git
$ git pull -u origin master
Use SSH instead of HTTPS.
This work fine for me. If I can solve this directly, I will update this answer.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53271136%2fcannot-push-from-git%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
Most likely your git configuration is using a different email address from what you verified. Check that git config user.email
outputs the same email that you used on GitHub. If it does not, set it with git config user.email "correct@email.com"
, then try pushing again.
Yes, I have checked the email address, and they are the same and verified.
– Leo
Nov 12 '18 at 22:51
add a comment |
Most likely your git configuration is using a different email address from what you verified. Check that git config user.email
outputs the same email that you used on GitHub. If it does not, set it with git config user.email "correct@email.com"
, then try pushing again.
Yes, I have checked the email address, and they are the same and verified.
– Leo
Nov 12 '18 at 22:51
add a comment |
Most likely your git configuration is using a different email address from what you verified. Check that git config user.email
outputs the same email that you used on GitHub. If it does not, set it with git config user.email "correct@email.com"
, then try pushing again.
Most likely your git configuration is using a different email address from what you verified. Check that git config user.email
outputs the same email that you used on GitHub. If it does not, set it with git config user.email "correct@email.com"
, then try pushing again.
answered Nov 12 '18 at 22:47
CYB3RCYB3R
309518
309518
Yes, I have checked the email address, and they are the same and verified.
– Leo
Nov 12 '18 at 22:51
add a comment |
Yes, I have checked the email address, and they are the same and verified.
– Leo
Nov 12 '18 at 22:51
Yes, I have checked the email address, and they are the same and verified.
– Leo
Nov 12 '18 at 22:51
Yes, I have checked the email address, and they are the same and verified.
– Leo
Nov 12 '18 at 22:51
add a comment |
There is an osxkeychain in Mac, we can delete account information by using
- git config --local --unset credential.helper
- git config --global --unset credential.helper
- sudo git config --system --unset credential.helper
Just asked GitHub Support, the official solution: https://help.github.com/articles/updating-credentials-from-the-osx-keychain/
add a comment |
There is an osxkeychain in Mac, we can delete account information by using
- git config --local --unset credential.helper
- git config --global --unset credential.helper
- sudo git config --system --unset credential.helper
Just asked GitHub Support, the official solution: https://help.github.com/articles/updating-credentials-from-the-osx-keychain/
add a comment |
There is an osxkeychain in Mac, we can delete account information by using
- git config --local --unset credential.helper
- git config --global --unset credential.helper
- sudo git config --system --unset credential.helper
Just asked GitHub Support, the official solution: https://help.github.com/articles/updating-credentials-from-the-osx-keychain/
There is an osxkeychain in Mac, we can delete account information by using
- git config --local --unset credential.helper
- git config --global --unset credential.helper
- sudo git config --system --unset credential.helper
Just asked GitHub Support, the official solution: https://help.github.com/articles/updating-credentials-from-the-osx-keychain/
edited Nov 13 '18 at 4:03
answered Nov 13 '18 at 2:07
LeoLeo
112
112
add a comment |
add a comment |
I have a same problem as you and I can not solve it.
But there is a second way to push you commits.
$ git remote set-url origin git@github.com:bitfish-xyz/viewport.git
$ git pull -u origin master
Use SSH instead of HTTPS.
This work fine for me. If I can solve this directly, I will update this answer.
add a comment |
I have a same problem as you and I can not solve it.
But there is a second way to push you commits.
$ git remote set-url origin git@github.com:bitfish-xyz/viewport.git
$ git pull -u origin master
Use SSH instead of HTTPS.
This work fine for me. If I can solve this directly, I will update this answer.
add a comment |
I have a same problem as you and I can not solve it.
But there is a second way to push you commits.
$ git remote set-url origin git@github.com:bitfish-xyz/viewport.git
$ git pull -u origin master
Use SSH instead of HTTPS.
This work fine for me. If I can solve this directly, I will update this answer.
I have a same problem as you and I can not solve it.
But there is a second way to push you commits.
$ git remote set-url origin git@github.com:bitfish-xyz/viewport.git
$ git pull -u origin master
Use SSH instead of HTTPS.
This work fine for me. If I can solve this directly, I will update this answer.
edited Dec 28 '18 at 12:05
answered Dec 28 '18 at 11:19
saltfishsaltfish
3721214
3721214
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53271136%2fcannot-push-from-git%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Does running
git config --get user.email
on the computer you are pushing from give the same email you verified?– PeterSW
Nov 12 '18 at 22:45
1
Yes, they are the same
– Leo
Nov 12 '18 at 22:47
1
This question sounds related: stackoverflow.com/questions/45551143/… and has an answer that might be of help for you.
– PeterSW
Nov 12 '18 at 22:52
I just tried this method, but still not working. I didn't change my username before. And I am using Mac OS, it's not feasible to delete user information like that...
– Leo
Nov 12 '18 at 23:05