Skip to content

Releases: MahbubHS/gitignore

v2.0.0

10 Jan 05:23

Choose a tag to compare

🎉 Major Release: v2.0.0

Highlights

  • 🎯 Smart PREFIX Detection - Install anywhere: PREFIX=~/.local make install
  • 🔧 Auto Template Generator - Add templates by dropping .gitignore files
  • 🔄 Smart Append Mode - Preserves existing patterns, removes duplicates
  • 📝 Multiple Patterns - Add many at once: gitignore *.log .env dist/
  • 17+ Built-in Templates - Python, Node, Rust, C++, Swift, and more

What's Changed

New Features:

  • Smart installation path detection via PREFIX
  • Automatic template.c generation from templates/
  • Non-destructive operations (append instead of overwrite)
  • Multiple pattern addition in single command
  • Swift and Windows templates added

Improvements:

  • Templates now compiled into binary (no external files)
  • Better error messages and conflict detection
  • Enhanced documentation with badges
  • Comprehensive CHANGELOG.md
  • Template addition guide

Bug Fixes:

  • Built-in templates now work correctly
  • init/sync no longer overwrite existing files
  • Duplicate patterns automatically removed

Installation

Quick Install:

curl -sSL https://raw.githubusercontent.com/yourusername/gitignore/main/install.sh | bash

Full Changelog: https://github.com/MahbubHS/gitignore/commits/v2.0