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
Open VS Code
Go to Extensions view (Ctrl+Shift+X)
Search for "MyCmd Git Command Notepad"
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
Copy a command:
Press Ctrl+Shift+G
Select a command (it will auto-copy)
Paste in terminal (Ctrl+V)
Save a new command:
Option 1: Highlight command in editor → Ctrl+Alt+G
Option 2: Run "MyCmd: Add New Command" from palette
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: