create-gi
is a lightweight and handy CLI tool to quickly generate a standard .gitignore
file for your project! Perfect for Node.js, Python, and other popular environments.
✅ Generates a .gitignore
file with commonly ignored files/directories.
✅ Works seamlessly with npx
.
✅ Supports Node.js, Python, and common environments.
✅ Prevents overwriting existing .gitignore
files.
You don’t need to install it globally! Just use:
npx create-gi
-
Navigate to your project directory:
cd your-project
-
Run the command:
npx create-gi
-
Your
.gitignore
file will be generated in the current directory. 🎉
The .gitignore
file includes the following:
# Node.js
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.env
# Python
__pycache__/
*.py[cod]
*.so
*.egg-info/
*.eggs/
*.pyo
# Virtual environments
.venv/
env/
venv/
# IDE and Editor files
.vscode/
.idea/
*.swp
*.swo
*.tmp
# OS-specific files
.DS_Store
Thumbs.db
Contributions are always welcome!
Feel free to open an issue or submit a pull request in the GitHub Repository.
This project is licensed under the MIT License. See the LICENSE file for details.
Have questions or suggestions? Let’s connect on GitHub!
🌟 Don’t forget to star the repository if you found this helpful!