{"id":8503,"date":"2018-08-15T10:37:50","date_gmt":"2018-08-15T17:37:50","guid":{"rendered":"http:\/\/alannarisse.com\/blog\/?p=8503"},"modified":"2018-11-07T12:39:25","modified_gmt":"2018-11-07T19:39:25","slug":"how-to-reset-your-git-password-locally","status":"publish","type":"post","link":"https:\/\/www.alannarisse.com\/blog\/how-to-reset-your-git-password-locally\/","title":{"rendered":"How to reset your git password locally"},"content":{"rendered":"<p>I recently changed my github password and had trouble figuring out how to reset my password locally. So here&#8217;s the answer:<\/p>\n<pre>git config --global --unset user.password<\/pre>\n<p>Then just do a <code>git push<\/code> on any repo with a github remote and you&#8217;ll be prompted for your github username and password.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I recently changed my github password and had trouble figuring out how to reset my password locally. So here&#8217;s the answer: git config &#8211;global &#8211;unset user.password Then just do a git push on any repo with a github remote and you&#8217;ll be prompted for your github username and password.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-8503","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/www.alannarisse.com\/blog\/wp-json\/wp\/v2\/posts\/8503","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.alannarisse.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.alannarisse.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.alannarisse.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.alannarisse.com\/blog\/wp-json\/wp\/v2\/comments?post=8503"}],"version-history":[{"count":1,"href":"https:\/\/www.alannarisse.com\/blog\/wp-json\/wp\/v2\/posts\/8503\/revisions"}],"predecessor-version":[{"id":8504,"href":"https:\/\/www.alannarisse.com\/blog\/wp-json\/wp\/v2\/posts\/8503\/revisions\/8504"}],"wp:attachment":[{"href":"https:\/\/www.alannarisse.com\/blog\/wp-json\/wp\/v2\/media?parent=8503"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.alannarisse.com\/blog\/wp-json\/wp\/v2\/categories?post=8503"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.alannarisse.com\/blog\/wp-json\/wp\/v2\/tags?post=8503"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}