V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
bugu1986
V2EX  ›  程序员

用 gpt 3.5 API 扩展了 git 根据文件的 diff 自动生成 commit log

  •  
  •   bugu1986 ·
    buhe · 2023-03-04 16:32:04 +08:00 · 1134 次点击
    这是一个创建于 420 天前的主题,其中的信息可能已经有所发展或是发生改变。
    3 条回复    2023-03-04 18:05:26 +08:00
    bugu1986
        1
    bugu1986  
    OP
       2023-03-04 16:46:08 +08:00
    ```
    export OPEAN_AI=YOUR_TOKEN
    # Token is here https://platform.openai.com/account/api-keys
    git gpt
    git push
    ```
    bugu1986
        2
    bugu1986  
    OP
       2023-03-04 16:58:11 +08:00
    我比较懒,不爱手写 commit log 所以
    learningman
        3
    learningman  
       2023-03-04 18:05:26 +08:00
    试过了,只看 diff chatgpt 理解不了你在干啥,最后出来的东西基本都是 update xxx and edit xxx 这样的。
    而且让他遵循 conventional commit 或者 semantic commit 也理解不了,最后还是得自己手写
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3001 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 14:18 · PVG 22:18 · LAX 07:18 · JFK 10:18
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.