Skip to content

Git - add commands to copy information in the repositories view#298558

Merged
lszomoru merged 1 commit intomainfrom
lszomoru/due-sheep
Mar 1, 2026
Merged

Git - add commands to copy information in the repositories view#298558
lszomoru merged 1 commit intomainfrom
lszomoru/due-sheep

Conversation

@lszomoru
Copy link
Member

@lszomoru lszomoru commented Mar 1, 2026

No description provided.

Copilot AI review requested due to automatic review settings March 1, 2026 12:33
@lszomoru lszomoru enabled auto-merge (squash) March 1, 2026 12:33
@lszomoru lszomoru self-assigned this Mar 1, 2026
@lszomoru lszomoru added this to the March 2026 milestone Mar 1, 2026
@lszomoru lszomoru added the git GIT issues label Mar 1, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds new Git commands for the Repositories (SCM) “artifacts” view to copy commonly needed information (branch/tag/stash/worktree details) to the clipboard, and wires them into the artifact context menus.

Changes:

  • Add new git.repositories.*Copy* command handlers for branches/tags/stashes/worktrees.
  • Contribute the new commands and add them to the Repositories view artifact context menus.
  • Add/adjust localized command titles (including “Copy Commit Hash” wording).

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
extensions/git/src/commands.ts Implements command handlers that resolve the selected artifact/worktree and copy branch name / commit hash / path / etc.
extensions/git/package.nls.json Adds localized titles for the new copy commands and updates commit “ID” wording to “Hash”.
extensions/git/package.json Registers the new commands and adds them to the SCM artifact context menus (branches/tags/stashes/worktrees).

@lszomoru lszomoru merged commit 39cd99f into main Mar 1, 2026
24 checks passed
@lszomoru lszomoru deleted the lszomoru/due-sheep branch March 1, 2026 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

git GIT issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants