## Git執行步驟 如果工作到一個段落或是完成了一項功能後,就可以考慮要commit或是push到遠端。可利用以下步驟推到遠端 1. ==git status== (確認更改的檔案還有未被追縱的檔案有甚麼,通常會呈現紅色一片) 2. ==git add .== (確定所有檔案要加入追蹤) 3. ==git status== (再確認一次是否所有檔案都被加入追蹤,通常會呈現綠色一片) 4. ==git commit -m "此次更新的訊息"== (這裡要記得填入這次做了甚麼改動!!) 5. ==git status== (確認是否暫存區是空的) 6. ==git push origin main== (推上遠端的main分支) ## 小Tip 1. 可多多利用Pycharm的分支查找功能查看目前分支狀況 ex: (Pycharm,在左下角的部分可以查看)  (可以在command console中打入 gitk --all查看)  ## Git常見問題 1. 錯誤訊息如下,則代表遠端分支上的main有人push東西上去,但是你的本機端還沒有pull下來就想要push新的東西上去。  :::success 解決辦法: 先執行git pull origin main後,再執行git push origin main ::: 2. 如果遇到衝突的話請洽詢Heng ## State Machine * <font color="#D83F31">**BeginState**</font>: :::info * Action: 1. 選擇場景 (圖片) 2. 基礎設置 (mask產生方法、model選擇) ::: :::warning * Process: 1. 若選擇完成,進入 <font color="#e89845">WaitPython</font> ::: * <font color="#e89845">**WaitingPythonState**</font>: :::warning * Process: 1. 將使用者選定的圖片名稱和各參數傳給python端 2. Python端生成mask和obj_data(包含各類別的mask和label,為pkl檔) 3. Unity接收到資料後render scene 4. 進入 <font color="#16539E">InGame</font> ::: * <font color="#16539E">**InGameState**</font>: :::info * Action: 1. 選擇物件 2. 確定選擇的物件 3. 重新選擇場景 ::: :::warning * Process: 1. 當使用者hover到帶有mask的物件後,重新render場景。若確定選擇此物件則進入Learning 2. 當使用者想要重新選擇場景,則進入 <font color="#D83F31">BeginState</font> ::: * <font color="#754492">**LearningState**</font>: :::info * Action: 1. 選擇是否離開此狀態 ::: :::warning * Process: 1. 若使用者選擇離開,則進入<font color="#16539E">InGame</font> ::: ## 數據格式與循序圖 (可自由編輯) https://drive.google.com/file/d/1weKwlUfedzN9r_MD32AAVnGbJRp-a7Fk/view?usp=sharing ## 狀態機圖 (可自由編輯) https://docs.google.com/presentation/d/11xpD3y8hxTjxrdzlUz9IUU5idW2i_CSBziDLLVHj-8Y/edit#slide=id.g25e92295a74_0_0
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up