DevOps Generators

Config Generator

All tools

Five git config commands for a fresh laptop, with your name and email filled in.

How it works

Four simple steps

1

Enter your name

This becomes user.name on every commit.

2

Enter your email

Use the address linked to your Git host account.

3

Review the defaults

Default branch, pull behavior and line endings are filled in.

4

Run the commands

Paste them into a terminal or save the .sh file.

Config Generator

About Config Generator

A new laptop, a fresh Git install, and the first commit lands with the wrong email because user.email was never set. Running a handful of config commands up front avoids that and a couple of other first-day annoyances.

Type your name and email and the tool writes five git config --global commands: user.name, user.email, init.defaultBranch set to main, pull.rebase set to false so git pull merges by default, and core.autocrlf. The line ending value comes from the platform your browser reports: true on Windows, input everywhere else. If you generate the commands on one OS and run them on another, change that last line.

Use an email your Git host knows, or the private noreply address it offers, or commits will not link to your account. Prefer rebasing on pull? Switch pull.rebase to true. Values are inserted as typed, so a name containing a double quote needs escaping before it goes into a shell. For a separate identity in one repository, such as a work email, run the user.email command without --global inside that repository.

The commands are built locally and can be downloaded as a .sh file. Add shortcuts with the Git alias generator, and set up a .gitignore for your stack before the first commit.

Keyboard shortcut

Ctrl Enter - Run tool
FAQ

Frequently asked questions

See all FAQs

Answers for this tool. For site-wide help, open the FAQ hub.

true converts LF to CRLF when files are checked out on Windows and back to LF on commit. input leaves checkouts alone but converts any CRLF to LF on commit. Both keep the repository itself on LF line endings.

git config --global --list shows your global settings, and git config --show-origin --list shows every value together with the file it came from.

It sets the global default, so every repository without its own pull.rebase value will merge on git pull. Repositories with a local setting keep theirs.

View more FAQs

Related tools

View all

Kubernetes Manifest Studio

Generate Deployment, Service, and Ingress YAML with a drift checklist.

Open

K8s Inspector

Summarize Kubernetes YAML kinds, names, and labels.

Open

K8s Resource Diff

Diff two Kubernetes manifests locally.

Open

K8s Manifest Splitter

Split multi-document YAML into one file per resource.

Open

Explore 321 free tools

Everything you need as a developer, marketer or creator - in one beautiful place.

Browse all tools