V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
bugu1986
V2EX  ›  程序员

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

  •  
  •   bugu1986 ·
    buhe · Mar 4, 2023 · 1793 views
    This topic created in 1159 days ago, the information mentioned may be changed or developed.
    3 replies    2023-03-04 18:05:26 +08:00
    bugu1986
        1
    bugu1986  
    OP
       Mar 4, 2023
    ```
    export OPEAN_AI=YOUR_TOKEN
    # Token is here https://platform.openai.com/account/api-keys
    git gpt
    git push
    ```
    bugu1986
        2
    bugu1986  
    OP
       Mar 4, 2023
    我比较懒,不爱手写 commit log 所以
    learningman
        3
    learningman  
       Mar 4, 2023
    试过了,只看 diff chatgpt 理解不了你在干啥,最后出来的东西基本都是 update xxx and edit xxx 这样的。
    而且让他遵循 conventional commit 或者 semantic commit 也理解不了,最后还是得自己手写
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5974 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 01:37 · PVG 09:37 · LAX 18:37 · JFK 21:37
    ♥ Do have faith in what you're doing.