git 명령어 모음
-
알아두면 유용한 Git 용어/명령어 정리Git 2023. 11. 3. 22:26
📖 Git 용어 모음 📒 Git에서 파일들의 상태 Git에서 파일들은 크게 다음 2가지 상태를 가진다. Untracked 상태 Tracked 상태 그리고 Tracked 상태는 다시 아래와 같은 3가지 상태로 나눌 수 있다. Staged 상태 Unmodified 상태 Modified 상태 1. Untracked 상태 Untracked는 '추적되지 않고 있는'이라는 뜻이다. 이 상태는 파일이 Git에 의해서 그 변동사항이 전혀 추적되고 있지 않는 상태를 뜻한다. 예를 들어, 파일을 새로 생성하고 그 파일을 한 번도 git add 해주지 않았다면 이 상태이다. 2. Tracked 상태 파일이 Git에 의해 그 변동사항이 추적되고 있는 상태이다. Staged 상태 파일의 내용이 수정되고나서, staging ar..