Cambiar el nombre de usuario y el correo electrónico de git

Ejemplos de código

24
0

nombre de usuario de git config

$ git config --global user.name "John Doe"
$ git config --global user.email [email protected]
19
0

git config --global user.name "Your Name"
git config --global user.email "[email protected]"
11
0

configurar git de correo electrónico

git config --global user.email "[email protected]"
11
0

git config --global user.name "My Name"
10
0

obtener nombre de usuario y correo electrónico de git

git config user.name
git config user.email
8
0

$ git config --global user.name
> "John Smith"

$ git config --global user.email 
> "[email protected]"

if you have configured multiple git users in your machine
$ git config --global user.name ### It will give name of git user who is globaly scoped
$ git config user.name ### It will give name of git user who has scope with respect to current repository
8
0

git user.name usuario.correo

git config --global user.name "Your Name"
git config --global user.email "[email protected]"
4
0

nombre de usuario de git

$ git config --global user.name
> "John Smith"

$ git config --global user.email 
> "[email protected]"

if you have configured multiple git users in your machine
$ git config --global user.name ### It will give name of git user who is globaly scoped
$ git config user.name ### It will give name of git user who has scope with respect to current repository
1
0

cambiar el nombre de usuario y el correo electrónico de git

$ git config --global user.email "[email protected]"

En otros idiomas

Esta página está en otros idiomas

Русский
..................................................................................................................
English
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................