此篇文章將就一名新進工程師的日常,試圖將 Git 常見的操作情境依序串接起來,期望可以在情境中直覺地學習使用 clone, commit, push, pull, rebase, stash, branch, merge 等指令功能,協助讀者掌握 Git 基本的版控操作技巧。
2017-09-19
2016-05-07
[Git] Checkout - 從檔案庫取出資料
使用 checkout 指令從指定節點取出當時的檔案內容
2016-05-04
[Git] Rebase - 使用 Interactive 模式來精簡 commit 紀錄
避免過多 commit 紀錄造成線圖繁雜
透過 Rebase Interactive Mode 來將 commit log 進行精簡
2016-05-03
[Git] Rebase - 合併的另種選擇
在 Merge 前思考一下,此情境是否使用 Rebase 比較優雅呢?
2016-04-29
[Git] Reset - mixed, hard and soft
Reset 區分為 mixed, hard 與 soft 三種模式
咱們就來實際演練一下,看看各自的差異及應用時機吧
- 1