쉐도잉 연습: How Git Works: Explained in 4 Minutes - 영상으로 영어 말하기 배우기
레슨 만드는 중...
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.
📺 같은 채널
✨ 추천 영상
이 레슨에 대해
"How Git Works: Explained in 4 Minutes"으로 쉐도잉 기법을 사용해 영어를 연습합니다.
매일 15~30분 꾸준히 연습하면 IELTS 스피킹에 대한 자신감이 길러집니다.
쉐도잉이란? 영어 실력을 빠르게 키우는 과학적 방법
쉐도잉(Shadowing)은 원래 전문 통역사 훈련을 위해 개발된 언어 학습 기법으로, 다언어 학자인 Dr. Alexander Arguelles에 의해 대중화된 방법입니다. 핵심 원리는 간단하지만 매우 강력합니다: 원어민의 영어를 들으면서 1~2초의 짧은 지연으로 즉시 소리 내어 따라 말하는 것——마치 '그림자(shadow)'처럼 화자를 따라가는 것입니다. 문법 공부나 수동적인 청취와 달리, 쉐도잉은 뇌와 입 근육이 동시에 실시간으로 영어를 처리하고 재현하도록 훈련합니다. 연구에 따르면 이 방법은 발음 정확도, 억양, 리듬, 연음, 청취력, 말하기 유창성을 크게 향상시킵니다. IELTS 스피킹 준비와 자연스러운 영어 소통을 원하는 분들에게 특히 효과적입니다.

























