Hopetree
V2EX  ›  GitHub

我发现一个问题:我在无意中刷 GitHub 提交数据

  •  
  •   Hopetree ·
    Hopetree · Sep 20, 2024 · 2497 views
    This topic created in 599 days ago, the information mentioned may be changed or developed.

    我最近搞了两个定时任务,调用 GitHub 的 API 进行文件上传(备份数据到 GitHub ),当时仅把 GitHub 当一个对象存在用,然后今天突然想到这种接口调用不会也计算提交,查了了一下的确是会计算,也就是说我的 GitHub 之后会是满勤

    真的就是无意间在刷数据啊

    4 replies    2024-12-26 03:06:07 +08:00
    lsylsy2
        1
    lsylsy2  
       Sep 20, 2024
    > 仅把 GitHub 当一个对象存在用
    这件事情本身可能是违反用户协议的,具体情况具体分析需要注意一下
    hrdom
        2
    hrdom  
       Sep 20, 2024
    正常啊,用 api 上传也是 commit
    Hopetree
        3
    Hopetree  
    OP
       Sep 20, 2024
    @lsylsy2 没有那么负责,就是传了一些个人博客的 markdown 文件上去当备份,还有把七牛云的图片也上传到 github 当图床,不存在违反用户协议的
    cooltechbs
        4
    cooltechbs  
       Dec 26, 2024
    想避免满勤也容易,开个新分支,别推默认分支就行了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4446 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 43ms · UTC 10:12 · PVG 18:12 · LAX 03:12 · JFK 06:12
    ♥ Do have faith in what you're doing.