jedeft
V2EX  ›  Cursor

cursor 报错 Cloud Agents require a Git repo 是个啥意思

  •  
  •   jedeft · Jan 21 · 1498 views
    This topic created in 148 days ago, the information mentioned may be changed or developed.

    看起来是要给 cursor 授权可以操作 git 仓库,为什么要给他授权呢?不授权还不让用了?

    4 replies    2026-01-21 16:57:32 +08:00
    mokeyjay
        1
    mokeyjay  
       Jan 21 via Android
    可能是它想跑 git 命令?你本地 git init 一下试试
    auhah
        2
    auhah  
       Jan 21
    你选的模式有问题吧,agent 输入框外面,左下角,选 local ,不要选 worktree

    worktree 模式是他创建一个 work 分支,在分支上操作。。当然需要初始化 git

    local 就是直接操作文件了
    jedeft
        3
    jedeft  
    OP
       Jan 21
    我重启了一下 cursor 就好了
    Tsssss
        4
    Tsssss  
       Jan 21
    cursor 怎么用 skill?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1069 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 18:02 · PVG 02:02 · LAX 11:02 · JFK 14:02
    ♥ Do have faith in what you're doing.