Difference between revisions of "Git"

From Quantum kot
Jump to navigation Jump to search
Line 1: Line 1:
 
Git is a distributed version control system: tracking changes in any set of files, usually used for coordinating work among programmers collaboratively developing source code.
 
Git is a distributed version control system: tracking changes in any set of files, usually used for coordinating work among programmers collaboratively developing source code.
 +
In order to make this work, you must first configure git with your email address and your name that are registered in Gitea. To do this, open a terminal window and issue the commands:
 
== Setup locally ==
 
== Setup locally ==
 
<syntaxhighlight lang="bash" highlight="1,5-7">
 
<syntaxhighlight lang="bash" highlight="1,5-7">
Line 8: Line 9:
 
git config --global user.name "NAME"
 
git config --global user.name "NAME"
 
</syntaxhighlight>
 
</syntaxhighlight>
 
 
  
 
==How to use ==
 
==How to use ==

Revision as of 08:44, 17 January 2023

Git is a distributed version control system: tracking changes in any set of files, usually used for coordinating work among programmers collaboratively developing source code. In order to make this work, you must first configure git with your email address and your name that are registered in Gitea. To do this, open a terminal window and issue the commands:

Setup locally

git config --global user.email EMAIL
git config --global user.name "NAME"

How to use