Published 2月 20, 2024 by with 0 comment

Git Lab 01 - First Time Git Setup



Lab 1.1: Your Identity
The first thing you should do when you install Git is to set your user name and email address.

git config - Get and set repository or global options

Example Code:
$ git config --global user.name 'Happy Peter'
$ git config --global user.email 'happypeter@123.net'


Lab 1.2: Checking Your Settings
If you want to check your configuration settings, you can use the git config --list command to list all the settings Git can find at that point:

Example Code:
$ git config --list


Reference:
1. Git - Commands Reference

2. Git - Getting Started - First-Time Git Setup

3. Git 教程


最初發表 / 最後更新: 2024-02-20 / 2024-02-20

0 comments:

張貼留言