HomeRecipesSnippets


git config

Text

Category: git
Date: Jan. 28, 2025, 11:29 p.m. PST
Tags: config

Set config details

git config --global user.name "John Doe"
git config --global user.email "john@example.com"

See config settings

git config --list

Add remote

git remote add remote-name https://github.com/user/repo.git