Backdating Git
Create Git commits with custom backdated timestamps directly from VS Code.
Features
- Backdated Commits: Specify both Author Date and Committer Date to rewrite history as needed.
- Full-Featured Sidebar: A dedicated Git GUI that mirrors the native VS Code experience:
- Staged vs. Changes: Visual separation of your files.
- Interactive Actions: Stage (
+), Unstage (-), Discard (↺), and Open (👁) files.
- Status Badges: Color-coded badges (M, A, D, U) for quick identification.
- Push to Remote: A one-click "Push" button to synchronize your backdated commits with GitHub/GitLab.
- Date Presets: Quick buttons for "Yesterday", "1 Week Ago", and "1 Month Ago".
- Monorepo Support: Robust repository discovery that finds
.git folders even in nested subdirectories.
- Logging: A dedicated "Backdating Git" Output Channel for troubleshooting repository detection and Git commands.
Installation
- Download the
.vsix file.
- Open VS Code.
- Go to the Extensions view (
Ctrl+Shift+X).
- Click the
... (More Actions) menu in the top-right.
- Select Install from VSIX... and choose the downloaded file.
Usage
- Open the Backdating Git icon in the Activity Bar.
- Select or open a file in a Git repository.
- Use the sidebar to stage your changes.
- Enter a commit message.
- Select a date using the picker or presets.
- Click Backdate Commit.
- Click Push to send your changes to the remote repository.
Requirements
- Git must be installed and available in your system PATH.
Extension Settings
This extension contributes the following commands:
backdating-git.commit: Opens a quick input flow for backdating (Command Palette).
License
MIT © 2026 Backdating Git Contributors
| |