查看各區資料狀態差別


  • working 與 index 的狀態

    git status


  • local repostory 與 working 差別

    git diff [file]


  • local repostory 與 index 差別

    git diff --staged [file]


  • 新到舊的順序列出儲存庫的提交的歷史記錄

    git log

    • 關閉查看歷史紀錄 ctrl+c or ctrl+z

results matching ""

    No results matching ""