GitDiff4Fabric
GitDiff4Fabric is a VS Code extension for viewing and applying Git-backed changes from Fabric workspaces into local repositories.
Features
- Displays active changes to a Fabric workspace.
- Pulls workspace files into the local Git-tracked directory to show diffs.
- Provides commands for workspace selection, refreshing, and restoring HEAD.
Commands
| Command |
Description |
Select Workspace |
Choose a Fabric workspace. |
Download Workspace |
Pull workspace files into the local directory. |
Checkout Fabric Workspace HEAD |
Sync local Git with Fabric workspace state. |
Refresh |
Update workspace and status views. |
Usage
- Open a Git repository linked to a Fabric workspace.
- Use the
Workspaces view or Command Palette to select linked workspace.
- View file changes in
Fabric Git Status.
- Pull workspace files to see diffs in the Source Control view.
Note: Downloading workspace changes overwrites local files. Commit or stash changes before pulling.
Development
- Install dependencies and compile:
npm install
npm run compile
- Launch the extension in the Extension Development Host (F5 in VS Code).
License
MIT — see LICENSE.
| |