问题描述
最近,我几乎每20分钟收到一封电子邮件,因此主题为添加了Visual Studio Team Services个人访问令牌".内容是这样的:
Recently I've been getting an email almost exactly every 20 minutes so with the subject "Visual Studio Team Services personal access token added". The content is something like this:
A new personal access token was added to your account
Git: https://[company account].visualstudio.com/ on [USER]
Scopes: vso.code_write vso.packaging
Expiration: 7/4/2019
规律性让我觉得这是自动的,但是我不知道那会是什么.
The regularity makes me think it's something automatic doing it, but I don't know what that could be.
推荐答案
原来,令牌是由Atlassian SourceTree生成的.我不知道发生了什么或为什么突然开始,但是关闭SourceTree导致没有发行新令牌.重新打开SourceTree导致再次发行令牌.
Turns out the tokens were being generated by Atlassian SourceTree. I don't know what was happening or why it suddenly started, but closing SourceTree resulted in no new tokens being issued. Reopening SourceTree led to the tokens being issued again.
我升级了Windows的SourceTree和Git并重新启动了计算机,这似乎已经解决了问题.自问题开始以来,我就已经重新启动了计算机,但没有解决任何问题,但是重新启动和升级Git和SourceTree的组合似乎已经解决了问题.
I upgraded SourceTree and Git for Windows and rebooted my computer, and that seems to have done the trick. I had already rebooted my computer since the issue started without that solving things, but the combination of rebooting and upgrading both Git and SourceTree seems to have resolved it.
这篇关于VSTS不断生成新的个人访问令牌的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!