kemistep
V2EX  ›  GitHub

请问如何用 Python 依据 token,拉取远程 github 仓库,并修改后提交到远程仓库

  •  
  •   kemistep · Oct 18, 2021 · 1294 views
    This topic created in 1736 days ago, the information mentioned may be changed or developed.

    help 脚本

    AoEiuV020
        1
    AoEiuV020  
       Oct 18, 2021
    直接把 token 写在地址上,其他和不登录一样的处理,
    https://<username>:<token>@github.com/<username>/<repo>
    kemistep
        2
    kemistep  
    OP
       Oct 19, 2021
    感谢
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5729 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 08:37 · PVG 16:37 · LAX 01:37 · JFK 04:37
    ♥ Do have faith in what you're doing.