git 如何退出 GitKraken 客户端?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/53416414/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 13:14:54  来源:igfitidea点击:

How can I sign out of the GitKraken client?

gitubuntugitkraken

提问by Julio

I'm using a public computer and I can't figure out how I can sign out my account in the desktop client for Ubuntu. I can't find a logout button. My GitKraken account is connected to GitHub, and I need a way to sign out.

我正在使用公共计算机,但不知道如何在 Ubuntu 桌面客户端中注销我的帐户。我找不到注销按钮。我的 GitKraken 帐户已连接到 GitHub,我需要一种注销方法。

回答by monkeyninja

I just ran into this issue myself and I seem to have found a workaround for it. Exit gitkraken and go to the AppData folder and delete the gitkraken profile. e.g. go to C:\Users\yourusername\AppData\Roaming.gitkraken\ and delete the profiles folder. When you restart gitkraken you should be signed out and can then sign in to a new account.

我自己刚刚遇到了这个问题,我似乎找到了解决方法。退出 gitkraken 并转到 AppData 文件夹并删除 gitkraken 配置文件。例如,转到 C:\Users\yourusername\AppData\Roaming.gitkraken\ 并删除配置文件文件夹。当您重新启动 gitkraken 时,您应该已注销,然后可以登录新帐户。

回答by itMaxence

For macOSand Unix-like:

对于macOS类 Unix

rm -rf ~/.gitkrakenshould do the trick.

rm -rf ~/.gitkraken应该做的伎俩。

I couldn't find any UI to do it otherwise.

否则我找不到任何 UI 来执行此操作。

Btw it removes all profiles and conf

顺便说一句,它删除了所有配置文件和配置文件

回答by VonC

There is an official way (see below), but it does not seem to be enough ( see comments)

有官方方法(见下文),但似乎还不够(见评论)

Mahdi Moqadasiadds in the comments:

Mahdi Moqadasi在评论中补充道:

I tried to sign out from all synced servers (github, gitlab and bitBucket) and edit personal information of my own.
Actually There was no account on GitKraken, but was logged in by GitHub.
So when I signed out of them and sign in my own, there was no problem anymore

我尝试从所有同步服务器(github、gitlab 和 bitBucket)注销并编辑我自己的个人信息。
其实 GitKraken 上没有账号,而是通过 GitHub 登录的。
所以当我退出他们并登录我自己的时,就没有问题了



Original answer:

原答案:

From GitKraken documentation:

来自GitKraken 文档

To authenticate with GitHub, navigate to the upper right corner to access Preferences Authentication.

要使用 GitHub 进行身份验证,请导航到右上角以访问首选项身份验证。

https://support.gitkraken.com/img/documentation/integrations/github/preferences.png

https://support.gitkraken.com/img/documentation/integrations/github/preferences.png

Try to use "Sign in with a different account", and see if that is not enough to log you out.

尝试使用“使用其他帐户登录”,看看这是否不足以让您注销。

You should be able, if you are connected, to click disconnect:

如果您已连接,您应该能够单击断开连接:

https://support.gitkraken.com/img/documentation/integrations/github/generate-ssh@2x.png

https://support.gitkraken.com/img/documentation/integrations/github/generate-ssh@2x.png

qvphamadds in the comments:

qvpham在评论中补充道:

Just a hint: You can find it under the menu File too

只是一个提示:您也可以在菜单文件下找到它

回答by Patrick Michaelsen

It's conveniently the one of the few options that's hidden in the File menu for some reason.

由于某种原因,它很方便地是隐藏在“文件”菜单中的少数选项之一。

File >Sign into Different Account

文件 >登录不同的帐户

回答by Roger Barton

For me on Windows, uninstalling and/or deleting the AppData did not work. Had to open a repothen I could select an option from a top right menu like in VonC's Answer

对于我在Windows 上,卸载和/或删除 AppData 不起作用。必须打开一个回购,然后我可以从右上角的菜单中选择一个选项,如 VonC 的答案

回答by sucks-at-javascript

Click the button with the three horizontal lines next to your profile picture in the top right and select "sign into a different account"

单击右上角个人资料图片旁边带有三条水平线的按钮,然后选择“登录其他帐户”