Automatic Backup of Uncommitted Git Files on Windows Easily

Automatic Backup of Uncommitted Git Files on Windows Easily

Automatic Backup of Uncommitted Git Files on Windows Easily
2 min read

Easily Backup Uncommitted Git Files on Windows Automatically

Losing code because you forgot to commit it? Every developer has been there. Fortunately, if you’re on Windows, there's a simple tool to solve this: Git Uncommitted Files Backup Tool.

This open-source project by iamshz97 is designed to help developers back up all modified or added files that haven’t yet been committed to their Git repository.


Key Features:

  • Automatic Backup of Uncommitted Files
    Detects and copies uncommitted (modified or added) files to a specified backup folder.

  • Task Scheduler Support
    Schedule automatic backups using Windows Task Scheduler (e.g., every 2 hours).

  • Timestamped Backup Folders
    Files are saved in folders named by date and time for easy tracking.


How to Use:

  1. Ensure Git and .NET Framework 4.6.2 are installed.

  2. Run GitBackupUncommitedFiles.exe.

  3. Select your Git repository folder.

  4. Choose the destination folder for backup.

  5. Optionally run via command line for automation:

    GitBackupUncommitedFiles.exe "C:\Path\To\Your\Repository"
    

This tool helps ensure your local changes are never lost, even before committing. It’s perfect for developers focused on safety and efficiency.

Source: https://github.com/iamshz97/Git-Uncommited-Files-Backup-Tool-Windows

Recommended for you