Git Configuration
You can interact with Git in two ways:
- through a graphical interface, such as within an Integrated Development Environment (IDE);
- through the Terminal (Git Bash).
In this course, you will use the Terminal (Git Bash) to work with Git, as it is often more convenient and faster. Learning to use the Terminal (Git Bash) will also help you navigate graphical interfaces more easily.
You should follow along on your computer throughout the course, run the commands, and experiment with them.
Before running any commands, learn how to open the Terminal (Git Bash) on your operating system.
Configuration
Proceed with the configuration. A Version Control System (VCS) should identify who made specific changes.
To set this up, configure basic information in Git, including your username and email address, by running the following commands:
To run a certain command means to enter/paste this command in the terminal window and press the Enter key.
Here is an example of configuration:
Replace email@example.com with your actual email address and username with your preferred username (keep the double quotes). It is recommended to use the format Firstname Lastname, where Firstname is your first name and Lastname is your last name.
The main command used here is git config. When combined with the --global flag, it sets the value for all Git repositories you work with. Later in the course, you will learn how to set different values for specific repositories.
Thanks for your feedback!
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Awesome!
Completion rate improved to 3.57
Git Configuration
Swipe to show menu
You can interact with Git in two ways:
- through a graphical interface, such as within an Integrated Development Environment (IDE);
- through the Terminal (Git Bash).
In this course, you will use the Terminal (Git Bash) to work with Git, as it is often more convenient and faster. Learning to use the Terminal (Git Bash) will also help you navigate graphical interfaces more easily.
You should follow along on your computer throughout the course, run the commands, and experiment with them.
Before running any commands, learn how to open the Terminal (Git Bash) on your operating system.
Configuration
Proceed with the configuration. A Version Control System (VCS) should identify who made specific changes.
To set this up, configure basic information in Git, including your username and email address, by running the following commands:
To run a certain command means to enter/paste this command in the terminal window and press the Enter key.
Here is an example of configuration:
Replace email@example.com with your actual email address and username with your preferred username (keep the double quotes). It is recommended to use the format Firstname Lastname, where Firstname is your first name and Lastname is your last name.
The main command used here is git config. When combined with the --global flag, it sets the value for all Git repositories you work with. Later in the course, you will learn how to set different values for specific repositories.
Thanks for your feedback!