Real-time git add .
progress tracker with ETA (Estimated Time Remaining) & Progress Bar
π git-add-progress is a simple yet powerful Bash script that helps track the progress of git add .
in real-time, showing the percentage completed, estimated time remaining (ETA), and a progress bar.
When working with large Git repositories containing thousands of files, the standard git add .
command does not show progress. This leads to uncertainty about:
- β³ How long will it take to finish?
- π How many files have been staged?
- π How can I track progress without slowing down Git?
This script solves all of these problems by providing live updates while files are being staged.
β
Real-time progress tracking while running git add .
β
Displays percentage completion and files staged vs. total files
β
Accurate ETA (Estimated Time Remaining) based on actual elapsed time
β
No slowdown β Runs at full Git speed without artificial delays
β
Works on large repositories with thousands of files
β
Lightweight & cross-platform β Works on Linux, macOS, and Windows (via WSL)
Total files to be staged: 3421
Starting git add...
[########----------------------------------] 20% (684 / 3421) | ETA: 00:05:12
All files have been staged successfully in 00:07:35!
This project was crafted with insights and assistance from ChatGPT. π€β¨