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 .
threads / discuss / 53158
Can not logout from github account on git bash
Subject: Can not logout from github account on git bash
Re: Can not logout from github account on git bash
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