Skip to content

Test: AI Generated branch/worktree names for Copilot CLI #309280

@DonJayamanne

Description

@DonJayamanne

Refs: #306191

  • anyOS
  • anyOS

Complexity: 2


AI gnerated branch names for Copilot CLI

Enable this setting github.copilot.chat.cli.aiGenerateBranchNames.enabled by setting it to true
Note: This feature is off by default

  1. Open a VS Code folder (such as VS code repo or any other)
  2. Open a new Chat Session
  3. Select Copilot CLI chat agent
  4. Ensure you select the worktree option (see screenshot)
  5. Send a prompt such as explain the contents of this repo, explain the contents of xyz.ts, fix the tests of xyz.test.ts
    Verify the branch (worktree) thats created is not a random name, but something thats meaningful and aligned with the prompt
    See below screenshot for sample name thats generated based on the prompt

(previously we'd generate branches named after some animals)

Image Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions