DEV Community

Ömer Faruk Ölünk
Ömer Faruk Ölünk

Posted on

Git Config

Hey welcome back!
Today we are going to talk about the git config command.
The git config command is basically Git's settings tool.
In other words ,it helps you configure how Git works and set up things like your user information.

For example, let's say multiple people are working on the same project.
In that case, you'll need to set and save your own user information (like your name or email) so Git can keep track of who made which changes.
Now let's take a look at how a git config command is written, with a simple example
 
Let's say , I want to set my name and email information in Git.
I would need write the command like this: 

git config - -global user.name "Faruk"
git config - -global user.email "omrfrk72004@xmail.com"

And thats it - this is how you set up your user information in Git.

By the way the **- -global part **means this setting will apply to all of your Git project on your computer. In this way, your teammates will be able to see that the changes in the project were made by you .

That's all for today. Thank you so much for your support, and I'll see you in the next lesson!

Top comments (0)