課程時間

🔧【Tools工具安裝】9:10:41

🎬【Preview導讀】3:41:55

🎬【GitEpisode4(第4篇)-Diff、Patch、GitIgnore、Stash、WorkTree、GitBlame、GitShow、GitBundle】12:00:13

課程章節

請按「Preview」預覽章節。

  關於本課程
Available in days
days after you enroll
  關於index、關於GitDiff和Patch
Available in days
days after you enroll
  關於GitIgnore
Available in days
days after you enroll
  關於Stash和WorkTree
Available in days
days after you enroll
  關於GitLog和GitShow和GitBlame
Available in days
days after you enroll
  關於GitBundle
Available in days
days after you enroll
  課程評價
Available in days
days after you enroll
請選付款方案

🔴如果您在HiSKIO上購買了課程,則無需在Teachable重新購買相同課程。

請注意,Teachable Pay的發票無法提供給台灣公司報稅,如果需要台灣發票報稅,請去HiSKIO購買。

Teachable可能會產大約5%的「海外交易費」(詳情請諮詢您的發卡機構),為了學生權益,請使用「10%off」折價券

「Bundle」(組合包)更划算!

#「Git」相關系列「Bundle」(組合包)

  • 🚀「包含9堂課」B-6-版控神器Git速成班、Git眉角學程第1-8篇(Click here)
  • 🚀「IT工具人學院全部課程」B-1-1-All Course Membership全能學生證(Click here)

Git Serious(學程)

注意: 因為此系列已經沒有新東西可以教了,所以這個學程不會再加入新內容了!

#請來這邊看「Git Serious(學程)」簡介(Click here)

🚀7-1-0-Git版控神器CrashCourse(速成班)(Click here)

🚀7-1-1-GitEpisode1(第1篇)-Stage、Commit(Click here)

🚀7-1-2-GitEpisode2(第2篇)-Branch、Merge(Click here)

🚀7-1-3-GitEpisode3(第3篇)-LocalBranch、RemoteTrackingBranch、RemoteBranch、AnnotatedTag、LightweightTag(Click here)

🚀7-1-4-GitEpisode4(第4篇)-Diff、Patch、GitIgnore、Stash、WorkTree、GitBlame、GitShow、GitBundle(Click here)(👈😁你現在在此!!)

🚀7-1-5-GitEpisode5(第5篇)-Rebase、Revert、InsertCommit、UpdateCommit、DeleteCommit(Click here)

🚀7-1-6-GitEpisode6(第6篇)-BackUp GitConfig、GitHook、Jest、PreCommit、Husky、Eslint、EslintConfig、LintStaged(Click here)

🚀7-1-7-GitEpisode7(第7篇)-GitObject、Blob、Tree、Commit、Tag、Compress、ShrinkRepository(Click here)

🚀7-1-8-GitEpisode8(第8篇)-GitHub、CentralizedWorkflow、FeatureBranchWorkflow、ForkingWorkflow、GitFlowWorkflow(Click here)

工具安裝

🔧Git for Windows

🔧SourceTree

🔧TortoiseGit

🔧P4Merge

課前技能

✍只要有勇氣面對"GitBash"(終端機)鼻孔朝天,一副老子天下無敵的勇者,都非常適合上課。

單元簡介

導讀

  • (P0)Git(1to8)(版控神器)(眉角學程)
  • (P1)複習GitCommand(Git指令)
  • (P2)整個Git學程重點摘要複習
  • (P3)GitResource(Git資源)
  • (P4)Git課程使用說明書
  • (P5)Git學程導讀
  • (P5-1)整個學程簡介
  • (P5-2)GitEpisode1(第1篇)-Stage、Commit
  • (P5-3)GitEpisode2(第2篇)-Branch、Merge
  • (P5-4)GitEpisode3(第3篇)-LocalBranch、RemoteTrackingBranch、RemoteBranch、AnnotatedTag、LightweightTag
  • (P5-5)GitEpisode4(第4篇)-Diff、Patch、GitIgnore、Stash、WorkTree、GitBlame、GitShow、GitBundle
  • (P5-6)GitEpisode5(第5篇)-Rebase、Revert、InsertCommit、UpdateCommit、DeleteCommit
  • (P5-7)GitEpisode6(第6篇)-BackUp GitConfig、GitHook、Jest、PreCommit、Husky、Eslint、EslintConfig、LintStaged
  • (P5-8)GitEpisode7(第7篇)-GitObject、Blob、Tree、Commit、Tag、Compress、ShrinkRepository
  • (P5-9)GitEpisode8(第8篇)-GitHub、(Centralized、FeatureBranch、Forking、GitFlow)Workflow
  • (P5-10)Git(版控神器)CrashCourse(速成班)

關於index、關於GitDiff和Patch

  • (T25)關於index。關於GitDiff和Patch
  • (T25-1)Tutorial簡介
  • (T25-2)GitBash的前置準備
  • (T25-3)關於index
  • (T25-4)介紹Git指令,關於GitDiff的nameOnly、nameStatus、diffFilter
  • (T25-5)關於GitDiff的nameOnly、nameStatus、diffFilter
  • (T25-6)關於GitDiff和GitApply
  • (T25-7)複習GitCommand
  • (T25-8)我的個人建議

關於GitIgnore

  • (T26)關於GitIgnore
  • (T26-1)Tutorial簡介
  • (T26-2)GitBash的前置準備
  • (T26-3)Scenarios1的GitIgnore忽略RootFile
  • (T26-4)Scenarios2的GitIgnore忽略Folder
  • (T26-5)Scenarios3的GitIgnore忽略Hierarchy
  • (T26-6)Scenarios3的GitIgnore忽略Extension副檔名
  • (T26-7)關於GitIgnoreTemplate
  • (T26-8)複習GitCommand
  • (T26-9)我的個人建議

關於Stash和WorkTree

  • (T27)關於Stash
  • (T27-1)Tutorial簡介
  • (T27-2)GitBash的前置準備
  • (T27-3)SourceTree的前置準備
  • (T27-4)SourceTree的git stash (push -m StashMessage) (--keep-index)。git stash show (-p) StashIndex
  • (T27-5)SourceTree的git stash apply (--index) StashIndex
  • (T27-6)SourceTree的StageAndStas。git stash (push -m StashMessage) (-u) (--keep-index)
  • (T27-7)SourceTree的CreateBranchCheckoutBranchApplyStashDeleteStash。git stash branch Branch StashIndex
  • (T27-8)SourceTree的git stash pop (--index) StashIndex。git stash drop StashIndex。git stash clear
  • (T27-9)GitBash的git stash (push -m StashMessage) (--keep-index)。git stash show (-p) StashIndex
  • (T27-10)GitBash的git stash apply (--index) StashIndex
  • (T27-11)GitBash的StageAndStas。git stash (push -m StashMessage) (-u) (--keep-index)
  • (T27-12)GitBash的CreateBranchCheckoutBranchApplyStashDeleteStash。git stash branch Branch StashIndex
  • (T27-13)GitBash的git stash pop (--index) StashIndex。git stash drop StashIndex。git stash clear
  • (T27-14)複習GitCommand
  • (T27-15)我的個人建議
  • (T28)關於GitWorktree
  • (T28-1)Tutorial簡介
  • (T28-2)GitBash的前置準備
  • (T28-3)GitBash的GitWorkTree
  • (T28-4)複習GitCommand和我的個人建議

關於GitLog和GitShow和GitBlame

  • (T29)關於GitLog和GitShow和GitBlame
  • (T29-1)Tutorial簡介
  • (T29-2)SourceTree的前置準備
  • (T29-3)SourceTree的GitLog。關於CommitSearch和ShowFileLog
  • (T29-4)SourceTree的GitShow。關於ShowFileLog和OpenCurrentVersion和OpenSelectVersion和CustomAction
  • (T29-5)GitBash的GitLog,關於GitLog。git log (--oneline) (--graph) (--all) (-N)
  • (T29-6)GitBash的GitLog,關於ShowFileLog。git log (-p) (-N) (CommitId) File
  • (T29-7)GitBash的GitLog,關於GitLogState。git log (--stat)
  • (T29-8)GitBash的GitLog,關於GitLogPrettyFormatLog。git log (--author=Name) (--since=Date)
  • (T29-9)GitBash的GitLog,關於HowManyCommitsOnCurrentBranch。git log --onelineWc -l
  • (T29-10)SourceTree的GitLog,關於CommitSearch
  • (T29-11)GitBash的GitShow
  • (T29-12)GitBash的GitBlame
  • (T29-13)複習GitCommand和我的個人建議

關於GitBundle

  • (T30)關於GitBundle
  • (T30-1)Tutorial簡介
  • (T30-2)SourceTree的前置準備
  • (T30-3)User1建立1stGitBundle
  • (T30-4)User2執行Pull1stGitBundle,建立Create2ndGitBundle
  • (T30-5)User3執行Pull2ndGitBundle,建立Create3rdGitBundle
  • (T30-6)User1執行Pull3rdGitBundle,建立Create4thGitBundle
  • (T30-7)複習GitCommand和我的個人建議

個人建議Git安裝步驟

# 工欲善其事,必先利其器。(請參考「工具安裝」- T18ToT26)

🍳 步驟1: 下載與安裝Git for Windows (or Git for Mac)

🍳 步驟2: 註冊Git Server

E.g. AzureDevOps、GitHub、GitLab、BitBucket

🍳 步驟3: 安裝Git GUI (Graphic User Interface 圖形介面)

E.g. SourceTree、TortoiseGit、GitHub Desktop、GitKraken、GitExtensions、SmartGit、Git in Visual Studio...etc

🍳 步驟4: 安裝Diff and Merge GUI (Graphic User Interface 圖形介面)

E.g. P4Merge、WinMerge、Meld、Beyond Compare、Araxis Merge、KDiff3、DeltaWalker、Code Compare、Integrations...etc

圖解「LocalBranch、RemoteTrackingBranch、RemoteBranch」(本地分支、遠端追蹤分支、遠端分支)

# 請參考【GitEpisode3(第3篇)-LocalBranch、RemoteTrackingBranch、RemoteBranch、AnnotatedTag、LightweightTag】(T19)LocalBranch和RemoteTrackingBranch和RemoteBranch;Fetch和Pull和Push

圖解「Tag」(標籤)

# 請參考【GitEpisode3(第3篇)-LocalBranch、RemoteTrackingBranch、RemoteBranch、AnnotatedTag、LightweightTag】(T22)關於Tag

圖解「Index、GitDiff、Patch」

# 請參考【GitEpisode4(第4篇)-Diff、Patch、GitIgnore、Stash、WorkTree、GitBlame、GitShow、GitBundle】(T25)關於index。關於GitDiff和Patch

圖解「GitHook」

# 請參考【GitEpisode6(第6篇)-BackUp GitConfig、GitHook、Jest、PreCommit、Husky、Eslint、EslintConfig、LintStaged】(T41)關於GitHook