跟讀練習: How Git Works: Explained in 4 Minutes - 通過影片學習英語口語
選擇練習模式
每種模式都會開啟全屏練習室。
43 句
如果句子過短或過長,請點選 Edit 進行調整。
1
Git can seem confusing at first, but understanding a few key concepts make it much clearer.
2
In this video, we'll walk through the basic Git command workflow and clear up some common misconceptions.
3
I'm San, co-author of best-selling system design interview books.
4
We explain complex system design concepts to animations.
5
Let's get started.
6
Before we dive into the commands, let's identify where a code is stored in Git.
7
The common assumption is that there are only two locations, but our code doesn't only exist on GitHub or our local machine.
8
There are forming locations where our code lives in Git.
9
The working directory, where we actively edit files locally, this is our playground.
10
The staging area, is a temporary holding spot for changes before committing.
11
The local repository.
12
This is where we store committed changes locally.
13
The remote repository, a server like GitHub for sharing and backing up code.
14
With these locations in mind, let's visualize where a code travels throughout its journey.
15
Most git command moves out between these four locations.
16
The first step is to git clone an existing repo, so you have a local version of the project to work on, complete with all its history.
17
With the repo cloned locally, let's look at where the code lives.
18
When you start working on a file, you're in the working directory.
19
This is your local development environment where you make changes to your code.
20
Now when you're ready to commit your changes, you use git add to stage a snapshot of those files in the staging area.
21
Think of this as a checkpoint where your code changes are gathered up and ready to be fired finalized.
22
The next step is to use git commit, which takes a snapshot of the staging area and saves it to your local repository.
23
This locks in those stage changes by creating a permanent record that you can refer back to, like a snapshot in time.
24
Your code doesn't just stay on your local machine.
25
When you're ready to share your progress with the team or back up your work, you use git push to send your commits to the remote repository.
26
This is often a shared server where your team can collaborate, like GitHub or Bitbucket.
27
Collaboration in Git is a two-way exchange.
28
To integrate your teammates' work, you use GitPull, which fetches changes from the remote repository and merges them into your local repository.
29
It combines two commands, GitFetch, which grabs the latest updates, and GitMerge, which integrates these updates with your work.
30
There are times when you need to switch contexts, perhaps to fix a bug on another branch.
31
This is where Git checkout or Git switch comes in.
32
It allows you to switch between different branches to work on specific features.
33
Git branching allows you to diverge from the main code base to develop a new feature without impacting the main code.
34
Some key concepts include creating a new branch with Git branch, switching between branches using Git switch,
35
merging branches together with Git merge or resolving merge conflicts when changes overlap.
36
Branching enables isolated development and collaboration workflows.
37
There are more nuance when merging or rebasing changes from others, or managing branches.
38
We have a dedicated video on merging and rebasing that we encourage you to watch.
39
Many developers use graphical Git tools like GitHub Desktop and SourceTree.
40
These tools provide visual interfaces and shortcuts for common commands.
41
They can help new users get started with Git more easily.
42
If you like our videos, you might like our system design newsletter as well.
43
It covers topics and trends in large-scale system design, trusted by 500,000 readers.
同頻道
FOR YOU
推薦影片
本課的詞彙與口語要點
這段影片共有 43 個句子、611 個單詞可供跟讀。 講話部分時長為 4:03。 說話人語速自然,每分鐘約 151 個詞,接近日常對話。 只有 73% 的單詞屬於英語最常用的 3,000 詞,詞彙難度較高。
影片中的重點詞彙
影片中 15 個不太常見的單詞,附發音和釋義:
- merge /mɝd͡ʒ/ (動詞) — 合併. To combine into a whole.
- remote /ɹəˈməʊt̞/ (形容詞) — 遠 /遠, 遙遠 /遙遠. At a distance; disconnected.
- server /ˈsɝvɚ/ (名詞) — 伺服器 /伺服器, 伺服器. A program that provides services to other programs or devices, either in the same computer or over a computer network.
- collaboration /kəˌlæbəˈɹeɪʃən/ (名詞) — 合作, 協作 /協作. The act of collaborating.
- directory /dɪˈɹɛktəɹi/ (名詞) — 名錄 /名錄, 簿. A list of names, addresses etc, of specific classes of people or organizations, often in alphabetical order or in some classification.
- clone /kloʊn/ (名詞) — 克隆, 複製 /複製. A living organism (originally a plant) produced asexually from a single ancestor, to which it is genetically identical.
- topic /ˈtɑpɪk/ (名詞) — 主題 /主題, 話題 /話題. A subject; a theme; a category or general area of interest.
- temporary /ˈtɛmp(əˌɹ)ɛɹi/ (形容詞) — 暫時 /暫時. Not permanent; existing only for a period or periods of time.
- encourage /ɪnˈkʌɹ.ɪd͡ʒ/ (動詞) — 鼓勵 /鼓勵, 激勵 /激勵. To mentally support; to motivate, give courage, hope or spirit.
- refer /ɹɪˈfɜː/ (動詞) — 談到 /談到. To direct the attention of (someone toward something).
- reader /ˈɹi.dɚ/ (名詞) — 讀者 /讀者. A person who reads.
- edit /ˈɛdɪt/ (動詞) — 編輯 /編輯. To change a text, or a document.
- animation /ˌæn.ɪˈmeɪ.ʃən/ (名詞) — 動畫 /動畫, 動漫 /動漫. The act of animating, or giving life or spirit.
- resolve /ɹɪˈzɑlv/ (動詞) — 解決 /解決. To find a solution to (a problem).
- combine /kəmˈbaɪn/ (動詞) — 結合 /結合, 組合 /組合. To bring (two or more things or activities) together; to unite.
影片中出現的短語動詞
- look at (動詞) — 觀察 /觀察, 看. To observe or watch.
需要注意的發音
說話人用了 7 次縮略和弱讀形式,例如 you're, doesn't, I'm。請按聽到的簡短形式來說。
- “sh” 和 “zh” 音: collaboration /kəˌlæbəˈɹeɪʃən/, animation /ˌæn.ɪˈmeɪ.ʃən/, assumption /əˈsʌm(p).ʃ(ə)n/, snapshot /ˈsnæpʃɒt/, misconception /ˌmɪs.kənˈsɛp.ʃən/
- 長單詞——注意重音位置: collaboration /kəˌlæbəˈɹeɪʃən/, directory /dɪˈɹɛktəɹi/, temporary /ˈtɛmp(əˌɹ)ɛɹi/, developer /dɪˈvɛləpɚ/, animation /ˌæn.ɪˈmeɪ.ʃən/
如何用這段影片練習
- 先完整聽一遍影片,不要開口,記下不認識的單詞。
- 先用 0.75 倍速逐句跟讀,熟練之後再回到正常速度。
- 錄下自己的聲音並與原聲對比,特別注意 merge, remote, server 這類單詞。
什麼是跟讀法?
跟讀法 (Shadowing) 是一種有科學依據的語言學習技巧,最初開發用於專業口譯員的培訓,並由多語言者Alexander Arguelles博士普及。這個方法簡單而強大:您在聽英語母語原聲的同時立即大聲重複——就像是一個延遲1-2秒緊跟說話者的影子。與被動聽力或語法練習不同,跟讀法強迫您的大腦和口腔肌肉同時處理並模模擬實的講話模式。研究表明它能顯著提高發音準確性,語調,節奏,連讀,聽力理解和口語流利度——使其成為雅思口語備考和真實英語交流最有效的方法之一。





























