zoukankan      html  css  js  c++  java
  • github通过token提交代码

    github通过token提交代码

    生成token

    个人头像->Setttings->Developer settings->Personal access tokens->Generate new token
    登录github后点这里进入 设置token

    本地设置

    清空本地密码

    git config --local credential.helper ""

    设置token

    修改服务的配置,配置文件在 .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)
    相信坚持的力量!

  • 相关阅读:
    图片处理中的Dithering技术
    网络I/O模型
    并发编程(二)
    并发编程(一)
    socket编程(二)
    socket编程(一)
    异常处理
    软件开发规范
    面向对象进阶
    多态与封装
  • 原文地址:https://www.cnblogs.com/kaesar/p/15430637.html
Copyright © 2011-2022 走看看