Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>CommitNestNew to Visual Studio Code? Get it now.
CommitNest

CommitNest

Samrat S K

|
8 installs
| (1) | Free
Backs up files before changes are committed, ensuring you always have a secure copy.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

CommitNest - Backup Uncommitted Files with Ease

CommitNest, a simple yet powerful extension designed to ensure that your uncommitted files are always safe. Whether you're about to pull changes, push new commits, or just want peace of mind before making major updates, GitSnap has you covered.

Commands

  • Secure Changes - Ensure that you are in a active workspace with git initialiazed. The run Secure Changes command from the command palette or you can configure a shortcut.

Features

1. Manual Backup of Uncommitted Files

GitSnap takes a snapshot of your uncommitted changes whenever you run the extension from the command palette. It backs up these files to a newly generated directory, preserving the original paths.

2. Detailed Log File

For every backup operation, GitSnap creates a detailed log file in JSON. This file records the paths and types of changes (e.g., modified, created) for each file, along with metadata like repository name, workspace path, timestamp, and the latest commit details. Here's an example of the log file:

{
  "changes": [
    {
      "path": "path/to/file",
      "type": "Added"
    },
    {
      "path": "path/to/another/file",
      "type": "Modified"
      "error": "Some error if encountered"
    },
  ],
  "repo": "brb",
  "workspacePath": "a/long/long/path/to/the/workspace",
  "timestamp": "...",
  "latestCommit": {
    "hash": "...",
    "timestamp": "...",
    "authorName": "Elbert AInstein",
    "authorEmail": "el@ai.com",
    "message": "Aligned the div in the center with quantum precision. haha"
  }
}

Config

To customize the backup directory, command + , (Windows / Linux: File -> Preferences -> User Settings) open the vscode file settings.json

settings type
commitnest.nestDirectoryPath string

Installation

  1. Open VS Code.
  2. Go to the Extensions view by clicking on the Extensions icon in the Activity Bar on the side of the window.
  3. Search for Backup Buddy.
  4. Click Install.

License

This extension is licensed under the MIT License.

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