Skip to content

gut init

Initialize a new git repository in the current directory with sensible defaults.


Usage

gut init

Running gut init creates a .git folder in your current directory and establishes the default branch as tracking main (if not otherwise specified in Git configuration settings).

Unlike regular git init, gut init will set up a more robust initial commit and branch structure so you can start working right away.

Examples

mkdir new-project
cd new-project
gut init