이 레포지토리는 iOS 프로젝트에 사용하기 위한 템플릿 레포지토리입니다.
아래의 세가지 방법 중 하나를 선택하여 사용하시면 됩니다.
- 이 Repository를 Fork한다.
- New 버튼을 눌러서 새 Repository를 생성한다.
- Repository Template에서 이 Repository Template을 선택한다.
- Use this template 버튼을 눌러서 새 Repository를 만든다.
-
이 Repository를 클론한다.
git clone https://github.com/taek0622/iOS-Repository-Template.git
-
숨겨져있는
.git
디렉토리를 찾아 삭제한다.rm -rf .git
-
새로운 깃 Repository를 생성한다.
git init
-
첫번째 commit을 생성한다.
git commit -a -m "Initial commit"
- 프로젝트를 Clone 받은 후 터미널 상에서 프로젝트 경로로 들어가서 아래의 명령어를 사용하여
.gitmessage
사용
git config --global commit.template .github/.gitmessage
- 위의 명령어 실행 후
git commit
을 할 때는 아래와 같이 사용할 수 있음
- Repository Template을 사용했을 때, 복사되는 범위는 현재 프로젝트의 디렉토리 및 구조, 브랜치 등까지 입니다. Issue나 Pull request의 Labels, Wiki, Project, Actions 등은 복사되지 않습니다.