git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Sonu Mittal
Message 2 of 2 in “Can not logout from github account on git bash”
  1. Sonu MittalApr 2, 2020
  2. Pratyush YadavApr 3, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.