Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Git Stash SchedulerNew to Visual Studio Code? Get it now.
Git Stash Scheduler

Git Stash Scheduler

Solo Leveler

|
1 install
| (0) | Free
Schedule Git stash apply, commit, and optional push from VS Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Git Stash Scheduler

A VS Code extension that schedules Git automation jobs such as:

  • Apply a selected Git stash.
  • Commit the resulting changes with a preset message.
  • Optionally push the commit to a remote.

This is useful when you want to prepare work locally and let the extension turn it into a commit at a chosen time.

Features

  • Schedule a job for a specific local time.
  • Select a local Git repository using the VS Code folder picker.
  • Choose a Git stash reference such as stash@{0}.
  • Provide a custom commit message.
  • Optionally push after commit.
  • View scheduled jobs in a dedicated VS Code sidebar.
  • Expand a job to view its repository, stash, commit message, schedule, status, and errors.
  • Persist scheduled jobs inside VS Code.
  • Run due jobs automatically in the background while VS Code is running.
  • Manually trigger execution from the Command Palette or sidebar.
  • Preserve the original Quick Input workflow for users who prefer it.

How it works

At the scheduled time, the extension:

  1. Checks that the selected folder is a Git repository.
  2. Applies the selected stash.
  3. Stages all changes.
  4. Creates a commit using your message.
  5. Pushes to the default remote if enabled.

Git stash changes can be restored later with git stash apply, and git stash list lets you inspect available stashes.

Sidebar

Open the Git Stash Scheduler view from the Activity Bar.

The sidebar shows your scheduled jobs with:

  • Job name.
  • Status icon.
  • Scheduled time.
  • Push preference.
  • Expandable job details.

Click a job to expand it and view:

  • Repository path.
  • Stash reference.
  • Commit message.
  • Scheduled time.
  • Push preference.
  • Job status.
  • Last run time.
  • Last error, if any.

You can also use the sidebar actions to:

  • Add a job.
  • Run due jobs.
  • Refresh the job list.
  • Run a selected job.
  • Delete a selected job.

Commands

Open the Command Palette and run:

  • Git Stash Scheduler: Add Job
  • Git Stash Scheduler: Add Job Using Quick Input
  • Git Stash Scheduler: List Jobs
  • Git Stash Scheduler: Run Due Jobs
  • Git Stash Scheduler: Refresh Jobs
  • Git Stash Scheduler: Run Job
  • Git Stash Scheduler: Delete Job
  • Git Stash Scheduler: Open Sidebar

Requirements

  • VS Code 1.74.0 or newer.
  • Git installed and available on your PATH.
  • A local Git repository.
  • At least one Git stash entry if you plan to use stash automation.
  • Git credentials already configured if you enable push.

Installation

Install from VSIX

Download the latest .vsix file from the GitHub Releases page.

Install it using the terminal:

code --install-extension git-stash-scheduler-0.0.1.vsix

Or install it through the VS Code interface:

  1. Open VS Code.
  2. Open the Extensions view.
  3. Click Views and More Actions….
  4. Select Install from VSIX….
  5. Choose the downloaded .vsix file.

Run from source

git clone [https://github.com/Rachit-001/git-stash-scheduler.git](https://github.com/Rachit-001/git-stash-scheduler.git)
cd git-stash-scheduler
npm install
npm run compile

Open the folder in VS Code and press F5 to launch the Extension Development Host.

Creating a job

  1. Open the Git Stash Scheduler sidebar.
  2. Click Add Job.
  3. Select your local Git repository using the folder picker.
  4. The extension uses your current workspace folder as the default starting location when available.
  5. Enter the stash reference, such as stash@{0}.
  6. Enter the commit message.
  7. Enter the scheduled time in YYYY-MM-DDTHH:MM format.
  8. Choose whether to push after commit.
  9. Save the job.

The job appears in the sidebar and will run automatically when its scheduled time arrives.

Example job

  • Repository: /home/user/projects/app
  • Stash: stash@{0}
  • Commit message: stash1
  • Run time: 2026-11-24T21:30
  • Push after commit: Yes

At 21:30, the extension will apply the stash, stage changes, commit them, and push if enabled.

Configuration

gitStashScheduler.checkIntervalMinutes

Controls how often the extension checks for due jobs.

Default: 1

Example in settings.json:

{
	"gitStashScheduler.checkIntervalMinutes": 1
}

gitStashScheduler.uiMode

Controls the default interface used by the Add Job command.

Options:

  • sidebar: Use the sidebar-oriented workflow.
  • quickInput: Use the original Quick Input workflow.

Default: sidebar

{
	"gitStashScheduler.uiMode": "sidebar"
}

gitStashScheduler.showNotifications

Controls whether completion, warning, and error notifications are shown.

Default: true

{
	"gitStashScheduler.showNotifications": true
}

Development

Install dependencies

npm install

Compile TypeScript

npm run compile

Watch for changes

npm run watch

Debug in VS Code

Press F5 to open a new Extension Development Host window.

File structure

git-stash-scheduler/
├─ package.json
├─ tsconfig.json
├─ eslint.config.js
├─ LICENSE
├─ NOTICE
├─ README.md
├─ .vscode/
│  ├─ launch.json
│  └─ tasks.json
├─ resources/
│  └─ git-stash.svg
└─ src/
   ├─ extension.ts
   ├─ scheduler.ts
   ├─ gitService.ts
   ├─ storage.ts
   ├─ models.ts
   ├─ utils.ts
   ├─ jobsProvider.ts
   ├─ uiMode.ts
   └─ quickInput.ts

Limitations

  • This version supports local Git repositories.
  • Remote repository support may be added in a future version.
  • The extension runs while VS Code is running; it does not execute jobs after VS Code has been completely closed.
  • Git credentials must already be configured on the machine.
  • The extension does not store raw credentials.
  • If applying a stash causes conflicts, the job may fail and should be reviewed manually.
  • Each job is intended for one repository.

Troubleshooting

“The selected folder is not a Git repository”

Make sure you selected the root folder of a Git repository.

“Git command failed”

Check that Git is installed and accessible from your terminal.

Job did not run

Confirm:

  • The job status is still pending.
  • The scheduled time has passed.
  • VS Code is running.
  • The selected repository path is correct.
  • The job has not already completed or failed.

Push failed

Confirm that your Git credentials, SSH key, or credential helper are configured correctly.

Security note

This extension relies on your existing Git setup, such as SSH keys or a Git credential helper, rather than storing passwords inside the extension.

License

This project is licensed under the Apache License, Version 2.0.

Attribution

If you use Git Stash Scheduler in a product, feature, documentation, website, or public distribution, please include an attribution notice similar to:

Powered by Git Stash Scheduler
[https://github.com/Rachit-001/git-stash-scheduler](https://github.com/Rachit-001/git-stash-scheduler)

This is a community courtesy request. See LICENSE and NOTICE for details.

Community and Pro editions

git-stash-scheduler is the community edition and is licensed under the Apache License, Version 2.0.

A future Pro edition may provide additional capabilities, such as recurring schedules, remote repository workflows, multi-repository management, and advanced team features. Pro functionality and licensing will be described separately when available.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft