1
1
Fork
You've already forked gitignore
0
No description
  • Go 93%
  • Makefile 7%
Find a file
2025年07月22日 03:56:50 +02:00
.github/workflows new file: .github/workflows/release.yml 2025年07月22日 03:56:50 +02:00
.gitignore modified: .gitignore 2025年07月22日 03:33:51 +02:00
go.mod Initial commit 2025年07月22日 03:27:52 +02:00
main.go modified: Makefile 2025年07月22日 03:41:58 +02:00
Makefile modified: Makefile 2025年07月22日 03:41:58 +02:00
README.md Initial commit 2025年07月22日 03:27:52 +02:00

gitignore-auto

Automatically generates a .gitignore file based on your project's language(s) with Git integration.

🔧 Features

Auto-detects project type: Go, Python, Node, Java, etc.

Supports multi-language detection (e.g. Go + Python)

Optional manual override via --lang

Detects current Git branch (e.g. main, master, dev)

Downloads .gitignore templates from GitHub's github/gitignore repo

Performs Git add, commit, and push

🚀 Installation

  1. Build & install (Linux/macOS)

make build # Compile the binary make install # Installs to /data/data/com.termux/files/usr/bin/gitignore-auto

  1. Termux (Android)

make install PREFIX=/data/data/com.termux/files/usr

🖥️ Usage

gitignore-auto

CLI Options

-h, --help Show help message -v, --version Show version and author --lang=Go,Python Manually specify languages (skips detection)

📦 Packaging

zip gitignore-auto.zip main.go Makefile README.md

👤 Author

PhateValleyman

📧 Jonas.Ned@outlook.com


License: MIT