kemistep
V2EX  ›  GitHub

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

  •  
  •   kemistep · Oct 18, 2021 · 1295 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   ·   4710 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 48ms · UTC 01:03 · PVG 09:03 · LAX 18:03 · JFK 21:03
    ♥ Do have faith in what you're doing.