형상관리
- 소프트웨어의 변경 사항을 체계적으로 추적하고 통제하는 것
형상 관리 시스템
- 개발 중 발생하는 모든 산출물을 변경됨으로써 점차 변해가는 소프트웨어 형상을 체계저긍로 관리하고 유지하는 시스템
- 개발 산출물들의 버전관리와 변경 내용 조회 가능
대표적인형상관리툴 (GIT) - 프로젝트(소스코드)를저장하고이력을관리하는저장소(repository)-원하는시점에소스코드를저장하거나 저장지점으로돌아가는기능을제공하여 프로젝트의버전을관리할수있음.
- 여러PC에소스코드를저장시키거나 여러PC에서 작성한 내용을 하나로병합(merge)하는것이가능함
GitHub - 코드저장소Git을웹으로이용할수있게만든 원격저장소(remote repository)
- 인터넷이제공되는환경에서소스코드의공유및버전관리가가능
- 여러개발자가하나의원격저장소에있는소스코드를받거나 변경한코드를병합하는것이가능. 협업가능
-https://github.com
GitHub: Let’s build from here
GitHub is where over 100 million developers shape the future of software, together. Contribute to the open source community, manage your Git repositories, review code like a pro, track bugs and fea...
github.com
Working Directory : 작업이진행되는폴더-프로젝트폴더를의미하며, 소스코드변경후 gitadd(그냥save, ctrl + s) 시Staging Area로전달됨.-Local Repository에저장된소스코드를 현재프로젝트에병합(merge)가능.
Staging Area : 준비영역, 중간영역-변경된코드가Local Repository에저장하기전 머무르는중간영역.
Local Repository에저장될코드를선택하고 commit을통해저장할수있음.
Local Repository : 내PC 내에있는저장소-소스코드의추가/변경사항을기록하는저장소.
Local Repository에저장된내용은 Remote Repository에push를반영할수있음.
-Remote Repository에저장된소스코드를fetch를통해 얻어와Local Repository에저장가능.
Remote Repository: 원격저장소(GitHub)

working Directory(save) ->변경내역 ->staging Area -> 저장할까말까?-> 변경에 저장된부분구문을실제 git반영 commit
->local Repository
'괴발개발 > git' 카테고리의 다른 글
| 깃 허브 팀 프로젝트 만들기 (팀장 ver) (0) | 2024.06.30 |
|---|---|
| Branch (0) | 2024.06.23 |
| error: Please make sure you have the correct access rights and the repository exists (0) | 2024.05.12 |
| fatal: refusing to merge unrelated histories 오류 (0) | 2024.05.11 |
| error failed to push some refs to (0) | 2024.05.09 |