본문 바로가기

GIT6

git 명령어 VS Code에서 많이 사용 clone 원격 저장소에 있는 프로젝트를 가져오는 역할 master 브런치를 자동으로 가져오며 origin으로 remote도 add **git clone ** pull 원격 저장소에서 로컬 저장소로 소스를 가져오는 명령어 원격 저장소의 소스를 가져오고 해당 소스가 현재 내 소스보다 더 최신 버전이라고 하면 지금의 버전을 해당 소스에 맞춰 업로드 (merge 명령어 사용) 원격저장소에서 fetch명령어로 가져온 후 merge까지 한번에 해 실제 파일의 내용이 변경되는 명령어 **git pull ** push 현재 프로젝트의 커밋된(HEAD) 내용을 원격 저장소로 내보내는 명령어 push로 내보내게 되면 원격 저장소에 저장되게 되며 이렇게 원격 저장소에 저장된 내용은 다른 사용자.. 2023. 8. 30.
Git Data Structures State Models commit한다고 서버(remote repository)에 업로드되는 것이 아니다. push를 해야 remote repository에 호환된다. A Detailed Explanation of the Underlying Data Structures and Principles of Git VS Code → Git History origin : remote repository를 의미 origin/develop origin/master origin 없으면 local repository를 의미한다. develop master 등 State Models commit한다고 서버(remote repository)에 업로드되는 것이 아니다. push를 해야 remote repository에 호환된.. 2023. 8. 30.
git branch 전략 Git Flow 전략 각 용도에 맞게 main(master), develop, feature, release, hotfix 브랜치를 분리해서 사용 명확한 릴리즈 기간과 주기적인 버전이 정해진 프로덕트를 개발하는 환경에 적합 릴리즈 버전 관리를 위한 release 브랜치를 따로 관리하기 때문에, 특정 버전에 대한 유지보수 기간이 길고, 여러 버전을 동시에 관리해야 할 필요가 있을때 유용함 2, 3과 같은 장점 때문에 소규모 팀보다는 규모가 있는 팀에 더 어울림 (https://sungjk.github.io/2023/02/20/branch-strategy.html 참고) Git-flow에는 5가지 종류의 브랜치가 존재합니다. 항상 유지되는 메인 브랜치들(master, develop)과 일정 기간 동안만 유지.. 2023. 8. 30.
git branch 전략 - release branches : 안정화 위주로 => 이후에 공식 배포 - check out => master branch => 여기서는 작업을 하면 안된다. (check out은 탐색기 폴더에서 마우스 오른쪽 -> checkout, develop => OK) 2023. 6. 1.
ssh 참고 링크 ssh config 설정 방법 http://taewan.kim/post/ssh_config/ The Guide to Generating and Uploading SSH Keys https://www.hostdime.com/kb/hd/linux-server/the-guide-to-generating-and-uploading-ssh-keys 2023. 6. 1.
Git Tortiose 설치 Tortoise Git은 Git 그 자체는 아니고, Git을 좀 더 쉽게 사용할 수 있게 도와주는 보조적인 프로그램이다. Download – TortoiseGit – Windows Shell Interface to Git Download – TortoiseGit – Windows Shell Interface to Git Other resources Debug symbols, language dlls and other resources can be found on our dedicated download server: download.tortoisegit.org/tgit/2.14.0.0/. Preview releases The preview releases are built from the latest c.. 2023. 5. 31.