Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
学ぶ Git Configuration | Introduction to Git
Git Essentials

bookGit 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.

Note
Note

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:

Note
Note

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:

Git 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.

question mark

Choose all INCORRECT options to configure the email address in Git.

すべての正しい答えを選択

すべて明確でしたか?

どのように改善できますか?

フィードバックありがとうございます!

セクション 1.  3

AIに質問する

expand

AIに質問する

ChatGPT

何でも質問するか、提案された質問の1つを試してチャットを始めてください

セクション 1.  3
some-alt