🧀 Learn Linux

常用 · 整理檔案

git:管理程式碼版本

語法

git status | add 檔案 | commit -m 訊息

參數

status
查看變更
diff
查看差異
log
查看歷史

範例

git status

使用說明與支援範圍

僅供複習:檢視工作區變更、暫存檔案並建立提交。

此指令供查閱複習,模擬終端暫未提供對應練習。

完整文檔 ↗

同主題指令