依照github的官网说法,github于2020年11月13日起逐渐的推广应用token认证代替原来的用户名明码认证,该项工作于2021年年中左右推广结束。所以一些历史上咱们应用用户名+明码拉取的github仓库在进行git pull \ push \ fetch等操作时,会报如下谬误:

remote: Password authentication is temporarily disabled as part of a brownout. Please use a personal access token instead.
remote: Please see https://github.blog/2020-07-3... for more information.

解决办法如下:
一、删除零碎记往的明码
不同的零碎删除零碎记的明码不同,macos参考官网帮忙文档进行删除即可。

二、配置git 的全局的认证帮忙器为空

 git config --local credential.helper ""

此时,在执行一些git操作时,则会提醒咱们输出用户名明码,此时明码输出在 github 中的设置的 token 即可。设置 token 的办法可参考官网文档。