2.0.0 • Published 12 months ago

git-file-tracker v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

Git File Tracker

An automated file tracking and Git management system that monitors file changes and creates meaningful commit messages automatically.

Features

  • 🔍 Automatic file change detection
  • ✨ Smart commit message generation
  • 🚀 Automatic Git commits and pushes
  • ⚡ Real-time file monitoring
  • 🛡️ Intelligent .gitignore management
  • 💪 TypeScript support

Installation

npm install git-file-tracker

Usage

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();

Configuration Options

  • 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')

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT