Re: Can not logout from github account on git bash
- From
Pratyush Yadav <me@yadavpratyush.com>
- Date
- Apr 3, 2020, 08:27 UTC
- Message-ID
- <20200403082744.wvxudaiwjlw7f2fb@yadavpratyush.com>
- In-Reply-To
- <CAPk=7ZrTBkxHzN82223=3r+fcUU+kRW-LMbgOSDFw+Bb4yQn6g@mail.gmail.com>
Hi Sonu,
On 02/04/20 07:08PM, Sonu Mittal wrote:
Show 11 quoted lines
> I am beginner and new to GitHub and git bash, I experimented with git > bash to clone a repository onto my system. Was successful in cloning > .Now i don't want to clone any more repositories and want to logout of > my GitHub account. > After using internet help i had successfully removed the git > credentials from windows credentials manager but then too when my > again using git bash i am able to clone repositories without even > entering my credentials of GitHub account (I tried restarting and > doing again but wasn't successful in accomplishing to logout of my > GitHub account from git bash and other terminals). > Please help me so that i can logout from my GitHub account from the terminal .
It is possible to clone public repositories on GitHub without needing to enter a username/password. It is not possible to push however. So, can you try making a test commit and pushing to your repo? If it fails, or asks your username/password, then you have "logged out".
-- Regards, Pratyush Yadav