[Git] Git의 전체적인 흐름을 알아보쟈
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
레포지토리는 이해가 어렵지 않았따ㅎㅅㅎ