11月 23, 2021 Git Github
### 長話短說

每一次整個新 VM 出來試野都要搞個 GIT,同埋 Github 要改左一定要強制用 person access token 先可以登入,好難可以記得一個水蛇春咁長的 token 來用,所以不可能每次都打密碼來 clone 同埋 pull。

下面呢句係用來記住 git 登入資料的。

```sh
# 使用 store 方法來記低你的登入資料
$ git config --global credential.helper store
```

另外如果需要 push 的話,就需要設定埋 user name 同埋 email 了。

```sh
# 設定 username
$ git config --global user.name YOURNAME

# 設定 email
$ git config --global user.email YOUREMAIL
```
過去文章
2025 (9)
4 (5)
3 (1)
2 (3)
2024 (25)
11 (3)
10 (3)
9 (1)
3 (18)
2022 (6)
10 (1)
6 (2)
5 (1)
3 (1)
1 (1)
2021 (21)
11 (7)
7 (1)
6 (2)
5 (2)
4 (6)
3 (2)
2 (1)
2020 (92)
12 (1)
11 (2)
10 (4)
9 (10)
8 (5)
7 (1)
6 (3)
5 (1)
4 (4)
3 (25)
2 (7)
1 (29)
2019 (57)
12 (25)
11 (7)
9 (25)