#git-repository #git #github #command-line-tool #setup #user-name #cli

app innit

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

1 unstable release

0.1.0 Jun 19, 2024

#2764 in Command line utilities

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

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
~162K SLoC