According to the course, there're three parts of the Git:
Part 1: A Working Directory.
Git init을 하면 working directory에 진입할 수 있다('진입'이라는 표현이 맞는지는 모르겠음)
working directory에서 할 수 있는 것들은
- Addtion
- Deletion
- Modification
한 마디로 파일을 어떤 방식으로든 수정할 수 있다는 것 같다(아마도).
그리고 working directory에서 git add(뭔지 모름)라는 걸 하면
Part 2: Staging Area
Here comes the 'staging area', where I can list all the changes I made to the working directory.
Change를 listing 한다는 게 글로 슥슥 써내려 가는 건지 뭔지는 모르겠지만... 아무튼 change를 list할 수 있다고 한다.
그리고 여기서는 말로만 들어본 commit을 할 수 있다고 한다.
Files in staging area are ready to be commited!
Part 3: Repo(Repository)
When I commit in the staging area, the changes are saved to repository as a permanent change!
Threforeeeee, a repository is where Git permanently stores those changes as different versions of the project XD
레포지토리는 이해가 어렵지 않았따ㅎㅅㅎ
'개발 일기' 카테고리의 다른 글
[Javascript] block과 global scope (0) | 2022.09.23 |
---|---|
[Git] 깃 깃ㄱ 깃 깃 깃 (1) | 2022.09.22 |
[Git] 그래서 Git은 어떻게 시작하는 건데? (0) | 2022.09.22 |
[Git] What is Git and GitHub? (0) | 2022.09.22 |
[Javascript] const에 함수를 할당하니까 갑자기 argument를 받을 수 있게 되었다,,, 띠용 / parameter와 argument의 차이 (1) | 2022.09.21 |