Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>git-\command-notepadNew to Visual Studio Code? Get it now.
git-\command-notepad

git-\command-notepad

Soumik Debnath

|
9 installs
| (0) | Free
Quick access to Git commands with copy-paste functionality
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

MyCmd - Git Command Notepad for VS Code

Quickly access, save, and reuse Git commands with this handy notepad extension. Perfect for developers who frequently use Git and want to save their commonly used commands.

Features

  • 📋 Pre-loaded with essential Git commands
  • 💾 Save your custom Git commands
  • ✂️ Save commands directly from your selection (Ctrl+Alt+G)
  • 🔍 Quick search with "mycmd" prefix
  • 📋 One-click copy to clipboard
  • ✏️ Edit and save modified versions of commands

Installation

  1. Open VS Code
  2. Go to Extensions view (Ctrl+Shift+X)
  3. Search for "MyCmd Git Command Notepad"
  4. Click Install

Usage

Basic Commands

Command Shortcut Description
Show Git Commands Ctrl+Shift+G (Cmd+Shift+G Mac) View all saved commands
Save Current Selection Ctrl+Alt+G (Cmd+Alt+G Mac) Save highlighted text as command
Add New Command - Manually add a new command

How to Use

  1. Copy a command:

    • Press Ctrl+Shift+G
    • Select a command (it will auto-copy)
    • Paste in terminal (Ctrl+V)
  2. Save a new command:

    • Option 1: Highlight command in editor → Ctrl+Alt+G
    • Option 2: Run "MyCmd: Add New Command" from palette
  3. Edit an existing command:

    • Run "MyCmd: Show Git Commands"
    • Select a command
    • Choose "Edit and save as new command"

Configuration

Customize your command notepad by editing these settings:

"git--command-notepad.customCommands": {
    "Force Push": "git push -f origin branch-name",
    "Delete Remote Branch": "git push origin --delete branch-name"
}
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft