git-zipper
v1.0.1
Published
**README.md** for your Node.js package **`git-zipper`** π
Readme
README.md for your Node.js package git-zipper π
# π§© git-zipper
A lightweight Node.js CLI tool that **creates a ZIP file of untracked files in your Git repository** β perfect for keeping a backup or reviewing your changes before committing.
---
## π Installation
Install `git-zipper` globally using npm:
```bash
npm i -g git-zipperπ§ Usage
Run the command inside your Git project directory:
git-zipper <filename>Example:
git-zipper backupThis will create a zip file named backup.zip containing all untracked (new) files from your working directory.
π― Why Use git-zipper?
When working on a project, you often modify or add new files before committing your changes.
git-zipper helps you:
- π¦ Create a zip backup of all your untracked files before committing.
- π Review your changes easily without messing with the Git index.
- π¨βπ» Share work-in-progress code snippets with teammates safely.
- π‘οΈ Prevent accidental data loss while experimenting with code.
π Output Example
If you run:
git-zipper my-changesYouβll get:
my-changes.zip
βββ src/
β βββ newComponent.js
β βββ helper.js
βββ test/
βββ testFile.jsβοΈ Requirements
- Node.js v14+
- Git must be installed and initialized (
git init)
π‘ Tips
- Always run the command before committing your changes.
- The tool only zips untracked files, not modified or staged ones.
- You can use this in CI/CD or as a pre-commit safety step.
π§βπ» Author
Kartik Chauhan π GitHub π§ [email protected]
πͺͺ License
MIT Β© 2025 Kartik Chauhan
