#git #template #github #initializing #gitignore #repository #git-repository

app innit

An interactive commandline tool for quickly initialising git repositories, written in Rust

2 releases

0.1.1 Mar 1, 2025
0.1.0 Jun 19, 2024

#643 in Command line utilities

Download history 9/week @ 2024-12-07 1/week @ 2024-12-14 1/week @ 2025-02-22 159/week @ 2025-03-01 5/week @ 2025-03-08

165 downloads per month

MIT license

15KB
331 lines

innit

A GIF showing the usage of innit and the prompts it displays

Overview

innit is a blazingly fast 🚀 commandline utility for initialising git repositories quickly and easily. I created this to solve the common problem of having to generate a .gitignore, README.md & LICENSE for most of the projects I make - this tool makes it trivial to set up that boilerplate for a new project.

Features

Below is the options you can change, their types, and their default values where applicable:

Option Type Default
generate README? bool true
generate .gitignore? bool true
.gitignore template string -
license string -
name string git config --global user.name
year string current year
branch string 'main'
remote name string 'origin'
remote URL string -
commit changes? bool true
commit message string 'initial commit'
push changes? bool true

Dependencies

  • cargo
  • git

Installation

Cargo

cargo install innit

Source

git clone https://github.com/oughtum/innit.git
cd innit
cargo install --path .

Or as a single command:

git clone https://github.com/oughtum/innit.git && cd innit && cargo install --path .

Usage

innit

Dependencies

~6–14MB
~163K SLoC