diff --git a/README.md b/README.md index c894c3c..c701917 100644 --- a/README.md +++ b/README.md @@ -6,13 +6,13 @@ ### Git -如 SVN,為操作指令必要安裝,至[Git 官網](https://git-scm.com/)下載安裝即可。 +如 SVN,為操作指令必要安裝,至 [Git 官網](https://git-scm.com/) 下載安裝即可。 ![Git](doc_image/2023-10-20-16-28-09.png) ### SourceTree -如 TortioseSVN,為 Git 操作 IDE 版本控管 Tools,至[SourceTree 官網](https://www.sourcetreeapp.com/)下載安裝即可。 +如 TortioseSVN,為 Git 操作 IDE 版本控管 Tools,至 [SourceTree 官網](https://www.sourcetreeapp.com/) 下載安裝即可。 ![SourceTree](doc_image/2023-10-20-14-11-15.png) @@ -48,7 +48,7 @@ 為避免 git 同步時,上傳不必要檔案(ex. packages、node_modules),故會於該檔案設定忽略同步目錄。 -1. 至[gitignore](https://www.toptal.com/developers/gitignore)找到對應開發 IDE/技術範本文件 +1. 至 [gitignore](https://www.toptal.com/developers/gitignore) 找到對應開發 IDE/技術範本文件 ![gitignore](doc_image/2023-10-20-16-22-39.png) @@ -177,8 +177,30 @@ ![Git-flow](doc_image/2023-10-24-15-30-33.png) +9. 這時我們可以注意到 `BRANCHES` 有兩個分別為 **develop** 及 **master**,但 `REMOTES` 的 origin 並無任何 Branch,我們接著按 Push 至 Remote。 + + ![Push](doc_image/2023-10-24-15-53-41.png) + +10. 因 Remote 未建立 **develop** 及 **master** Branch,故我們要將這兩個 Branch 從 Local 發布至 Remote,選擇 `Select All` 後點擊 `Push`。 + + ![Select All](doc_image/2023-10-24-15-58-16.png) + +11. 完成後我們會看到 Git Graph 上同時會出現 Remote 與 Local 的 Branch,在左側 REMOTES 也出現剛上傳的 Branch。 + + ![Success](doc_image/2023-10-24-16-01-13.png) + +### Gitea 驗證是否上傳成功 + +- Repository + + ![Gitea Repository](doc_image/2023-10-24-16-02-41.png) + +- 分支資訊 + + ![Remote Branch](doc_image/2023-10-24-16-03-06.png) + ### 注意事項 -- 如果執行 `git push` 有跳出輸入帳號密碼資訊,輸入 Gitea 帳密即可。 +如果執行 `git push` 有跳出輸入帳號密碼資訊,輸入 Gitea 帳密即可。 - ![輸入帳密](doc_image/2023-10-20-16-40-29.png) +![輸入帳密](doc_image/2023-10-20-16-40-29.png) diff --git a/doc_image/2023-10-24-15-53-41.png b/doc_image/2023-10-24-15-53-41.png new file mode 100644 index 0000000..d26c868 Binary files /dev/null and b/doc_image/2023-10-24-15-53-41.png differ diff --git a/doc_image/2023-10-24-15-58-16.png b/doc_image/2023-10-24-15-58-16.png new file mode 100644 index 0000000..58f2ce7 Binary files /dev/null and b/doc_image/2023-10-24-15-58-16.png differ diff --git a/doc_image/2023-10-24-16-01-13.png b/doc_image/2023-10-24-16-01-13.png new file mode 100644 index 0000000..0227728 Binary files /dev/null and b/doc_image/2023-10-24-16-01-13.png differ diff --git a/doc_image/2023-10-24-16-02-41.png b/doc_image/2023-10-24-16-02-41.png new file mode 100644 index 0000000..64f15a6 Binary files /dev/null and b/doc_image/2023-10-24-16-02-41.png differ diff --git a/doc_image/2023-10-24-16-03-06.png b/doc_image/2023-10-24-16-03-06.png new file mode 100644 index 0000000..3052f11 Binary files /dev/null and b/doc_image/2023-10-24-16-03-06.png differ