当前位置: 首页> 娱乐> 八卦 > 网站怎么做二维码_sem营销_站长工具综合权重查询_友情链接多少钱一个

网站怎么做二维码_sem营销_站长工具综合权重查询_友情链接多少钱一个

时间:2025/7/22 6:30:03来源:https://blog.csdn.net/weixin_44786530/article/details/142324952 浏览次数:0次
网站怎么做二维码_sem营销_站长工具综合权重查询_友情链接多少钱一个

报错原因:

因为你的代码里面包含了github token明文信息,github担心你的token会泄漏,所以就不允许你推送这些内容。

解决办法:

需要先把代码里面的github token信息删除掉,并且删掉之前的历史提交,只要包含token的提交,都要删除掉。

或者按照官方给的解决办法:Working with push protection from the command line - GitHub Docs

然后再次提交,就可以了

 详细的报错:

git push

Enumerating objects: 40, done.

Counting objects: 100% (40/40), done.

Delta compression using up to 8 threads

Compressing objects: 100% (26/26), done.

Writing objects: 100% (28/28), 8.67 KiB | 4.33 MiB/s, done.

Total 28 (delta 16), reused 0 (delta 0), pack-reused 0

remote: Resolving deltas: 100% (16/16), completed with 9 local objects.

remote: error: GH013: Repository rule violations found for refs/heads/main.

remote: 

remote: - GITHUB PUSH PROTECTION

remote:   —————————————————————————————————————————

remote:     Resolve the following violations before pushing again

remote: 

remote:     - Push cannot contain secrets

remote: 

remote:     

remote:      (?) Learn how to resolve a blocked push

remote:      https://docs.github.com/code-security/secret-scanning/working-with-secret-scanning-and-push-protection/working-with-push-protection-from-the-command-line#resolving-a-blocked-push

remote:     

remote:     

remote:       —— GitHub Personal Access Token ——————————————————————

remote:        locations:

remote:          - commit: 28e55de0d31e3a863b7e252ef802230b56b13092

remote:            path: src/apis/common.ts:8

remote:          - commit: 28e55de0d31e3a863b7e252ef802230b56b13092

remote:            path: src/utils/http.ts:56

remote:     

remote:        (?) To push, remove secret from commit(s) or follow this URL to allow the secret.

remote:        https://github.com/Sjj1024/PakePlus/security/secret-scanning/unblock-secret/2mDtj7K5gyE4MfiZ7e8IyJqZfaK

remote:     

remote: 

remote: 

To github.com:Sjj1024/PakePlus.git

 ! [remote rejected] main -> main (push declined due to repository rule violations)

error: failed to push some refs to 'github.com:Sjj1024/PakePlus.git'

关键字:网站怎么做二维码_sem营销_站长工具综合权重查询_友情链接多少钱一个

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com

责任编辑: