Git: Unterschied zwischen den Versionen

Aus robopagex.com
Zur Navigation springen Zur Suche springen
Zeile 4: Zeile 4:
  
 
[Git, free and open source https://git-scm.com/]
 
[Git, free and open source https://git-scm.com/]
 +
 +
 +
''Set global username/email:''
 +
 +
    '''git config --global user.name "NAME"'''
 +
   
 +
    '''git config --global user.email "mail@example.com"'''
 +
 +
''Set repository-specific username/email:''
 +
 +
    '''git config user.name "NAME"'''
 +
 +
    '''git config user.email "mail@example.com"'''
 +
 +
    '''cat .git/config'''

Version vom 13. September 2020, 22:43 Uhr

Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.

Git is easy to learn and has a tiny footprint with lightning fast performance. It outclasses SCM tools like Subversion, CVS, Perforce, and ClearCase with features like cheap local branching, convenient staging areas, and multiple workflows.

[Git, free and open source https://git-scm.com/]


Set global username/email:

   git config --global user.name "NAME"
   
   git config --global user.email "mail@example.com"

Set repository-specific username/email:

   git config user.name "NAME"
   git config user.email "mail@example.com"
   cat .git/config