An automated file tracking and Git management system that monitors file changes and creates meaningful commit messages automatically.
- 🔍 Automatic file change detection
- ✨ Smart commit message generation
- 🚀 Automatic Git commits and pushes
- ⚡ Real-time file monitoring
- 🛡️ Intelligent .gitignore management
- 💪 TypeScript support
npm install git-file-tracker
import { createFileTracker } from 'git-file-tracker';
const tracker = createFileTracker({
watchPath: './src',
autoCommit: true,
autoPush: true,
branch: 'main'
});
// The tracker will automatically monitor files and create commits
// To stop tracking:
await tracker.stop();
-
watchPath
: Directory to monitor for changes -
gitDir
: Git repository directory (defaults to current directory) -
ignorePaths
: Additional paths to ignore -
autoCommit
: Enable automatic commits (default: true) -
autoPush
: Enable automatic pushing to remote (default: true) -
branch
: Target branch for pushes (default: 'main')
Contributions are welcome! Please feel free to submit a Pull Request.
MIT