my git practice
-
基礎篇
-a, --all commit all changed files
Please enter the commit message for your changes. Lines starting
'#' with '#' will be ignored, and an empty message aborts the commit.
- i 或insert 進入編輯模式 i 是插入 s是刪除並插入 a是往後一格開始插入 o是往下一行開始插入 O是往上一行開始插入
- 所有註解想留就留 也可以刪除
- esc 離開編輯模式
- 沒有行數感到焦慮的時候 :set nu
- 输入":wq",注意是冒號+wq 在enter就好
- hen 棒诶
- 瞧瞧手動commit
也可以使用-m 即 git commit -m "寫一下comment",就不會再出現提示了
但首先我要先把這裡得東西commit好 : git commit -a -m "目前的內容我先commit"
發現圖片檔好像不會上git
-
進階篇
- 1
- 2
-
調整提交順序
- 1
- 2
-
活用 git 指令
- 1
- 2
-
進階 主題
- 1
- 2