Initial commit
This commit is contained in:
parent
a783cff8fa
commit
1b79d65e4d
32
README.md
32
README.md
|
|
@ -6,13 +6,13 @@
|
||||||
|
|
||||||
### Git
|
### Git
|
||||||
|
|
||||||
如 SVN,為操作指令必要安裝,至[Git 官網](https://git-scm.com/)下載安裝即可。
|
如 SVN,為操作指令必要安裝,至 [Git 官網](https://git-scm.com/) 下載安裝即可。
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### SourceTree
|
### SourceTree
|
||||||
|
|
||||||
如 TortioseSVN,為 Git 操作 IDE 版本控管 Tools,至[SourceTree 官網](https://www.sourcetreeapp.com/)下載安裝即可。
|
如 TortioseSVN,為 Git 操作 IDE 版本控管 Tools,至 [SourceTree 官網](https://www.sourcetreeapp.com/) 下載安裝即可。
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|
@ -48,7 +48,7 @@
|
||||||
|
|
||||||
為避免 git 同步時,上傳不必要檔案(ex. packages、node_modules),故會於該檔案設定忽略同步目錄。
|
為避免 git 同步時,上傳不必要檔案(ex. packages、node_modules),故會於該檔案設定忽略同步目錄。
|
||||||
|
|
||||||
1. 至[gitignore](https://www.toptal.com/developers/gitignore)找到對應開發 IDE/技術範本文件
|
1. 至 [gitignore](https://www.toptal.com/developers/gitignore) 找到對應開發 IDE/技術範本文件
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|
@ -177,8 +177,30 @@
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
9. 這時我們可以注意到 `BRANCHES` 有兩個分別為 **develop** 及 **master**,但 `REMOTES` 的 origin 並無任何 Branch,我們接著按 Push 至 Remote。
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
10. 因 Remote 未建立 **develop** 及 **master** Branch,故我們要將這兩個 Branch 從 Local 發布至 Remote,選擇 `Select All` 後點擊 `Push`。
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
11. 完成後我們會看到 Git Graph 上同時會出現 Remote 與 Local 的 Branch,在左側 REMOTES 也出現剛上傳的 Branch。
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### Gitea 驗證是否上傳成功
|
||||||
|
|
||||||
|
- Repository
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
- 分支資訊
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
### 注意事項
|
### 注意事項
|
||||||
|
|
||||||
- 如果執行 `git push` 有跳出輸入帳號密碼資訊,輸入 Gitea 帳密即可。
|
如果執行 `git push` 有跳出輸入帳號密碼資訊,輸入 Gitea 帳密即可。
|
||||||
|
|
||||||

|

|
||||||
|
|
|
||||||
BIN
doc_image/2023-10-24-15-53-41.png
Normal file
BIN
doc_image/2023-10-24-15-53-41.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 29 KiB |
BIN
doc_image/2023-10-24-15-58-16.png
Normal file
BIN
doc_image/2023-10-24-15-58-16.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
BIN
doc_image/2023-10-24-16-01-13.png
Normal file
BIN
doc_image/2023-10-24-16-01-13.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 34 KiB |
BIN
doc_image/2023-10-24-16-02-41.png
Normal file
BIN
doc_image/2023-10-24-16-02-41.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 65 KiB |
BIN
doc_image/2023-10-24-16-03-06.png
Normal file
BIN
doc_image/2023-10-24-16-03-06.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 36 KiB |
Loading…
Reference in New Issue
Block a user