GIT

GIT

gitmoji

gitmoji git + emoji 합성어로 emoji를 활용하여 commit message를 가독성 있게 작성하는 방법 commit의 목적이나 의도를 쉽게 식별 가능 의미 아이콘 코드 설명 원문 🎨 :art: 코드의 구조/형태 개선 Improve structure / format of the code. ⚡️ :zap: 성능 개선 Improve performance. 🔥 :fire: 코드/파일 삭제 Remove code or files. 🐛 :bug: 버그 수정 Fix a bug. 🚑 :ambulance: 긴급 수정 Critical hotfix. ✨ :sparkles: 새 기능 Introduce new features. 📝 :memo: 문서 추가/수정 Add or update documentation. ..

GIT

브랜치 전략 (Git Flow vs Github Flow vs Gitlab Flow)

Git을 사용하는 동안 브랜치를 효과적으로 관리하기 위한 방법론으로, 팀의 협업 방식과 개발 프로세스에 맞게 브랜치를 만들고 관리함으로써 개발 생산성을 향상시키고 충돌을 최소화한다 Git Flow 가장 보편화 된 브랜치 전략 feature / develop / release / hotfix / master(main) 총 5가지의 브랜치 feature develop 브랜치에서 파생 기능 개발 단위의 브랜치 develop master 브랜치에서 파생 기능 개발 또는 수정된 브랜치를 통합하는 브랜치 release develop 브랜치에서 파생 운영에 배포되기 위한 브랜치 hotfix master 브랜치에서 파생 운영에서 생기는 버그를 수정하기 위한 브랜치 수정되면, develop 브랜치와 master(main..

GIT

Pull Request Templat

Pull Request로 코드리뷰를 하다보면 각 요청자마다 내용이 다르다. 이를 표준화 하기 위해 Pull Request Template을 작성 할 수 있다. Pull Request의 Description 표준화 리뷰어들의 이해를 돕고 시간 절약 root directory, the docs directory, .github directory 아래 중 한곳에 pull_request_template.md 파일을 생성한다. .github/pull_request_template.md docs/pull_request_template.md /pull_request_template.md Angular의 pull request template 이다. 꼭 위와 같이 할 필요는 없고, 프로젝트의 성격과 리뷰어들의 성향에 ..

GIT

CODEOWNERS

github에서 제공되는 CODEOWNERS는 소스코드의 담당자를 지정 할 수 있다. 개인 또는 팀으로 지정이 가능하며 확장자에 따라 설정이 가능하다. 또한, pull request시 CODEOWNERS에 지정된 담당자로 code reviewers가 된다. About code owners - github To use a CODEOWNERS file, create a new file called CODEOWNERS in the root, docs/, or .github/ directory of the repository, in the branch where you'd like to add the code owners. 적용 방법은 repository root에서 docs/ 또는 .github/ 디렉토리에 ..

dolzi
'GIT' 카테고리의 글 목록