kemistep
V2EX  ›  GitHub

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

  •  
  •   kemistep · Oct 18, 2021 · 1299 views
    This topic created in 1741 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   ·   1311 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 17:19 · PVG 01:19 · LAX 10:19 · JFK 13:19
    ♥ Do have faith in what you're doing.