Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>copy-paste-git-branchNew to Visual Studio Code? Get it now.
copy-paste-git-branch

copy-paste-git-branch

tnrich

|
180 installs
| (0) | Free
Copy to system clipboard or paste name of current git branch
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

copy-paste-git-branch

Usage

  1. Execute Copy name of current branch command from Command Palette
  2. Execute Paste name of current branch command from Command Palette (ctrl+alt+cmd+v)
  3. ???
  4. PROFIT

Alternatively you can assign a keyboard shortcut to command copy-paste-git-branch.copyBranchName pr copy-paste-git-branch.pasteBranchName

Inspiration:

I used https://github.com/dKab/Copy-current-branch-vs-code-extension as an inspiration for this

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft