5
github通过token提交代码
source link: https://segmentfault.com/a/1190000040840987
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
github通过token提交代码
生成token
清空本地密码个人头像->Setttings->Developer settings->Personal access tokens->Generate new token
登录github后点这里进入 设置token
git config --local credential.helper ""
修改服务的配置,配置文件在 .git/config
[core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true ignorecase = true precomposeunicode = true [remote "origin"] url = https://{用户名}:{生成的token}@github.com/username/java.git fetch = +refs/heads/*:refs/remotes/origin/* [branch "main"] remote = origin merge = refs/heads/main
说明:修改url,{用户名}设置为自己提交的用户名,{生成的token}替换成token
$1.01^{365} ≈ 37.7834343329$
$0.99^{365} ≈ 0.02551796445$
相信坚持的力量!
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK