{"id":30135534,"url":"https://github.com/sv222/vscode-git-patch-export","last_synced_at":"2026-05-09T02:35:59.010Z","repository":{"id":304572808,"uuid":"1019142187","full_name":"sv222/vscode-git-patch-export","owner":"sv222","description":"A Visual Studio Code extension that integrates patch export functionality directly into the Git Source Control panel. Provides quick access to git format-patch and git diff --staged commands through intuitive UI buttons.","archived":false,"fork":false,"pushed_at":"2025-07-13T23:16:38.000Z","size":28,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-10T22:56:10.257Z","etag":null,"topics":["diff","export","format-patch","git","git-tools","patch","visual-studio-code","vscode","vscode-extension"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sv222.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-13T20:39:31.000Z","updated_at":"2025-07-14T13:52:27.000Z","dependencies_parsed_at":"2025-07-14T01:27:19.533Z","dependency_job_id":"046cee2c-bd40-4726-b840-91fbc283fca8","html_url":"https://github.com/sv222/vscode-git-patch-export","commit_stats":null,"previous_names":["sv222/vscode-git-patch-export"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sv222/vscode-git-patch-export","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sv222%2Fvscode-git-patch-export","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sv222%2Fvscode-git-patch-export/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sv222%2Fvscode-git-patch-export/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sv222%2Fvscode-git-patch-export/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sv222","download_url":"https://codeload.github.com/sv222/vscode-git-patch-export/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sv222%2Fvscode-git-patch-export/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32805066,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["diff","export","format-patch","git","git-tools","patch","visual-studio-code","vscode","vscode-extension"],"created_at":"2025-08-10T22:50:14.086Z","updated_at":"2026-05-09T02:35:58.994Z","avatar_url":"https://github.com/sv222.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Git Patch Export - VS Code Extension\n\nA VS Code extension that adds convenient patch export commands to the Git panel, allowing you to quickly create patches from your Git repository.\n\n## Features\n\n- **Export Last Commit as Patch**: Creates a patch file from the last commit using `git format-patch -1 HEAD`\n- **Export Staged Changes as Patch**: Creates a patch file from staged changes using `git diff --staged`\n- Integrated directly into VS Code's Git panel with intuitive buttons\n- Automatically opens created patch files for review\n- Smart filename generation based on commit messages\n\n## Usage\n\n### Install the Extension from the local directory\n\n1. Clone the repository\n2. Open VS Code\n3. Go to Extensions (Ctrl+Shift+P)\n4. Run the command \"Developer: Install extension from location\"\n5. Select the cloned repository\n\n### Install the Extension from the VS Code Marketplace\n\n1. Open VS Code\n2. Go to Extensions (Ctrl+Shift+X)\n3. Search for \"Git Patch Export\"\n4. Click Install\n\n### Using the Extension\n\nOnce installed, you'll find two new buttons in your Git panel:\n\n\u003cimg src=\"./images/button1.jpg\" alt=\"Git Patch Export Buttons\" width=\"400\"/\u003e\n\u003cimg src=\"./images/button2.jpg\" alt=\"Git Patch Export Buttons\" width=\"400\"/\u003e\n\n#### 1. Export Last Commit as Patch (📤)\n- Click the export button in the Git panel header\n- Automatically generates a patch file from your last commit\n- File is named based on the commit message (e.g., `fix-bug-in-parser.patch`)\n- Opens the patch file automatically for review\n\n#### 2. Export Staged Changes as Patch (📝)\n- Click the diff button in the Git panel header\n- Prompts you to enter a filename for the patch\n- Creates a patch file containing all staged changes\n- Opens the patch file automatically for review\n\n### Button Locations\n\nThe buttons appear in two locations:\n- **Git Panel Header**: Available at the top of the Source Control panel\n- **Context Menu**: Right-click on staged files for quick access\n\n## Commands\n\n| Command | Description | Git Command |\n|---------|-------------|-------------|\n| `git-patch-export.formatPatch` | Export Last Commit as Patch | `git format-patch -1 HEAD` |\n| `git-patch-export.stagedDiff` | Export Staged Changes as Patch | `git diff --staged \u003e name.patch` |\n\n## Requirements\n\n- VS Code 1.60.0 or higher\n- Git installed and available in PATH\n- Active Git repository in workspace\n\n## Extension Settings\n\nThis extension contributes the following settings:\n\n* No additional settings required - works out of the box!\n\n## Known Issues\n\n- Patch files are created in the workspace root directory\n- Requires Git to be properly configured in the system PATH\n\n## Release Notes\n\n### 1.0.0\n\nInitial release with core functionality:\n- Export last commit as patch\n- Export staged changes as patch\n- Integration with Git panel UI\n- Automatic file opening\n\n## Contributing\n\nFound a bug or want to contribute? Please visit our [GitHub repository](https://github.com/sv222/vscode-git-patch-export).\n\n## License\n\nThis extension is licensed under the [MIT License](LICENSE).\n\n---\n\n**Enjoy using Git Patch Export!** 🚀","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsv222%2Fvscode-git-patch-export","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsv222%2Fvscode-git-patch-export","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsv222%2Fvscode-git-patch-export/lists"}