Skip to content

Git Profil einstellen

Mit git config lassen sich Einstellungen der Git Repositorys durchführen. Verwendet man die Option
--global, werden die Einstellungen für alle Repositorys gesetzt, ohne der Option wird die Einstellung für das aktuelle Repository angewendet.

Git Profil global einstellen

git config --global user.name "Fred Feuerstein"
git config --global user.email "ffeuerstein@feuerstein.com"
git config --global http.sslVerify false

Git Profil für aktuelle Repository einstellen

git config user.name "Fred Feuerstein"
git config user.email "ffeuerstein@feuerstein.com"
git config http.sslVerify false

Git Profil anzeigen

git config --list