課程時間

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

🎬【Preview導讀】3:41:55

🎬【GitEpisode3(第3篇)-LocalBranch、RemoteTrackingBranch、RemoteBranch、AnnotatedTag、LightweightTag】21:36:29

課程章節

請按「Preview」預覽章節。

  關於本課程
Available in days
days after you enroll
  關於HttpsGitClone
Available in days
days after you enroll
  關於SshGitClone
Available in days
days after you enroll
  LocalBranch(本地分支)、RemoteTrackingBranch(本地追蹤分支)、RemoteBranch(遠端分支)。Fetch、Pull、Push
Available in days
days after you enroll
  把LocalRepository(本地倉庫)上傳到GitHub。把RemoteRepository(遠端倉庫)從GitHub搬家到AzureDevOpsService
Available in days
days after you enroll
  Tag(標籤)
Available in days
days after you enroll
  關於GitCloneOptions
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(速成班)

關於HttpsGitClone

  • (T13)關於Https的GitClone
  • (T13-1)Tutorial簡介
  • (T13-2)GitBash的HttpsGitClone,複製GitHub、GitLab、BitBucket、AzureDevOpsService的Repository
  • (T13-3)SourceTree的HttpsGitClone,複製GitHub、GitLab、BitBucket、AzureDevOpsService的Repository
  • (T13-4)TortoiseGit的HttpsGitClone,複製GitHub、GitLab、BitBucket、AzureDevOpsService的Repository
  • (T13-5)複習GitCommand和我的個人建議
  • (T14)關於Https的GitClone,同1個電腦2個帳號
  • (T14-1)Tutorial簡介
  • (T14-2)關於GitHub的Account1的HttpsGitClone
  • (T14-3)關於GitHub的Account2的HttpsGitClone
  • (T14-4)複習GitCommand和我的個人建議

關於SshGitClone

  • (T15)關於SshClone-PuttyKey
  • (T15-1)Tutorial簡介
  • (T15-2)Ssh觀念介紹
  • (T15-3)關於SshClone-PuttyKey,建立PublicKey、PrivateKey
  • (T15-4)SourceTree的SshClone-PuttyKey,複製GitHub、GitLab、BitBucket、AzureDevOpsService的Repository
  • (T15-5)TortoiseGit的SshClone-PuttyKey,複製GitHub、GitLab、BitBucket、AzureDevOpsService的Repository
  • (T15-6)複習GitCommand
  • (T15-7)我的個人建議
  • (T16)關於SshClone-OpenSsh
  • (T16-1)Tutorial簡介
  • (T16-2)Ssh觀念介紹
  • (T16-3)關於SshClone-OpenSsh,建立PublicKey、PrivateKey
  • (T16-4)SourceTree的SshClone-OpenSsh,複製GitHub、GitLab、BitBucket、AzureDevOpsService的Repository
  • (T16-5)GitBash的SshClone-OpenSsh,複製GitHub、GitLab、BitBucket、AzureDevOpsService的Repository
  • (T16-6)複習GitCommand
  • (T16-7)我的個人建議
  • (T17)關於SshClone-OpenSsh,同1個電腦2個帳號
  • (T17-1)Tutorial簡介
  • (T17-2)Ssh觀念介紹
  • (T17-3)關於SshClone-OpenSsh,建立PublicKey、PrivateKey
  • (T17-4)關於GitHub的Account1and2的OpenSsh、GitClone
  • (T17-5)同1個電腦2個帳號,sshConfig、gitConfig
  • (T17-6)複習GitCommand
  • (T17-7)我的個人建議
  • (T18)關於SshClone-OpenSsh的ProjectKey
  • (T18-1)Tutorial簡介
  • (T18-2)Ssh觀念介紹
  • (T18-3)關於SshClone-OpenSsh-ProjectKey,建立PublicKey、PrivateKey
  • (T18-4)GitBash的SshClone-OpenSsh-ProjectKey,複製GitHub、GitLab、BitBucket的Repository
  • (T18-5)設定,sshConfig、gitConfig
  • (T18-6)複習GitCommand
  • (T18-7)我的個人建議

LocalBranch(本地分支)、RemoteTrackingBranch(本地追蹤分支)、RemoteBranch(遠端分支)。Fetch、Pull、Push

  • (T19)LocalBranch和RemoteTrackingBranch和RemoteBranch;Fetch和Pull和Push
  • (T19-1)Tutorial簡介
  • (T19-2)複習
  • (T19-3)GitHub的Repository
  • (T19-4)GitBash的前置準備
  • (T19-5)SourceTree的前置準備
  • (T19-6)SourceTree的Push、Fetch、Pull
  • (T19-7)GitBash的GitDemo2的gitFetchPrune
  • (T19-8)GitBash的GitDemo1的Branch-master的Push
  • (T19-9)GitBash的GitDemo2and3的Branch-master的git fetch和git fetch -v和gitFETCH_HEAD
  • (T19-10)GitBash的GitDemo4的Branch-master的git pull和gitFETCH_HEAD和gitORIG_HEAD
  • (T19-11)GitBash的GitDemo1的Branch-2的Create和Delete
  • (T19-12)GitBash的GitDemo2and3的Branch-2的git fetch和git fetch -v和gitFETCH_HEAD
  • (T19-13)GitBash的GitDemo4的Branch-2的git pull和gitFETCH_HEAD和gitORIG_HEAD
  • (T19-14)GitBash的GitDemo1的Branch-3的CreateGitDemo3的git fetch -v
  • (T19-15)GitBash的GitDemo1刪除Branch-2and3
  • (T19-16)GitBash的GitDemo2and3and4的git fetch --prune和git remote prune origin
  • (T19-17)TortoiseGit的GitDemo1的Push、Fetch、Pull
  • (T19-18)GitBash的GitDemo2的git fetch --prune
  • (T19-19)複習GitCommand
  • (T19-20)我的個人建議

把LocalRepository(本地倉庫)上傳到GitHub。把RemoteRepository(遠端倉庫)從GitHub搬家到AzureDevOpsService

  • (T20)把LocalRepository(本地倉庫)上傳到GitHub
  • (T20-1)Tutorial簡介
  • (T20-2)GitBash的前置準備
  • (T20-3)把LocalRepository(本地倉庫)上傳到GitHub
  • (T20-4)刪除RemoteRepository(遠端倉庫)的Url
  • (T20-5)複習GitCommand
  • (T20-6)我的個人建議
  • (T21)把RemoteRepository(遠端倉庫)從GitHub搬家到AzureDevOpsService
  • (T21-1)Tutorial簡介
  • (T21-2)GitBash的前置準備
  • (T21-3)把RemoteRepository(遠端倉庫)從GitHub搬家到AzureDevOpsService
  • (T21-4)複習GitCommand
  • (T21-5)我的個人建議

Tag(標籤)

  • (T22)關於Tag
  • (T22-1)Tutorial簡介
  • (T22-2)GitBash的前置準備
  • (T22-3)關於SemanticVersioning2,較AnnotatedTag(標示標籤)和LightweightTag(輕量標籤)
  • (T22-4)SourceTree的建立LocalAnnotatedTag和LocalLightweightTag
  • (T22-5)SourceTree的CheckoutToTag並且CreateBranch
  • (T22-6)SourceTree的git fetch -v、--tags
  • (T22-7)SourceTree的刪除Branch和刪除Tag
  • (T22-8)GitBash的DeleteOutdateLocalTagAndOutdateRemoteTrackingBranches。git fetch --prune --prune-tags
  • (T22-9)SourceTree的刪除全部的LocalTags和RemoteTag
  • (T22-10)GitBash的git tag -h和git tag --help
  • (T22-11)GitBash的建立AnnotatedTag和LightweightTag
  • (T22-12)GitBash的CheckoutToTag(AndCreateBranch)。git checkout (-b branch) tag
  • (T22-13)GitBash的git fetch和git fetch -v和git fetch --tags
  • (T22-14)GitBash的刪除Branch和刪除Tag
  • (T22-15)GitBash的DeleteOutdateLocalTagAndOutdateRemoteTrackingBranches。git fetch --prune --prune-tags
  • (T22-16)GitBash的刪除全部的LocalTags和RemoteTag
  • (T22-17)TortoiseGit的建立AnnotatedTag和LightweightTag
  • (T22-18)TortoiseGit的CheckoutToTag並且CreateBranch
  • (T22-19)TortoiseGit的git fetch -v、--tags
  • (T22-20)TortoiseGit的刪除Branch和刪除Tag
  • (T22-21)GitBash的DeleteOutdateLocalTagAndOutdateRemoteTrackingBranches。git fetch --prune --prune-tags
  • (T22-22)TortoiseGit的刪除全部的LocalTags和RemoteTag
  • (T22-23)複習GitCommand
  • (T22-24)我的個人建議,GitFlow和Tag

關於GitCloneOptions

  • (T23)關於Clone大型Repository。關於git clone --depthN
  • (T23-1)Tutorial簡介
  • (T23-2)Clone(複製)DefaultBranch(預設分支)。Clone(複製)N個Commits或是NoCheckout
  • (T23-3)Clone(複製)OtherBranch(其他分支)。Clone(複製)N個Commits或是protocalVersion2
  • (T23-4)Clone(複製)Tag(標籤)。Clone(複製)N個Commits或是protocalVersion2
  • (T23-5)複習GitCommand
  • (T24)關於GitCloneBare,把RemoteRepository(遠端倉庫)搬家到本地端。
  • (T24-1)Tutorial簡介
  • (T24-2)GitBash的前置準備
  • (T24-3)執行BareClone,從GitHub搬到GitDemo1BareGit
  • (T24-4)執行Clone,從GitDemo1BareGit複製到GitDemo1BareClone1
  • (T24-5)執行Push,從GitDemo1BareClone1搬家上傳到AzureDevOpsService
  • (T24-6)複習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