jedeft
V2EX  ›  Cursor

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

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

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

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

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

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