1. github에서 "Create a new repository" "Private"로 생성
"Add a README file"을 체크하여 "main" branch까지 생성하는게 편하다
2. 생성한 repository의 settings에서 "Collaborators" 메뉴 진입
"Add people"에 메일 계정 입력하여 추가
3. 해당 메일에서 git invitation accept
4. git 연결
4.1. git clone https://github.com/{repository}.git 수행시 "Repository not found" 에러 발생
4.2. git clone https://공유받는계정이름@github.com/{repository}.git 수행하고 패스워드 입력시 "
Support for password authentication was removed on August 13, 2021." 에러 발생(github가 id, password 인증을 없앰)
4.3. https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token 참고하여 계속 진행
github 공유받는 계정에서 Settings > Developer settings > Personal access tokens에서 "Generate new token". repo 3개 체크하고 생성
4.4 다시 git clone https://공유받는계정이름@github.com/{repository}.git 수행하고 패스워드로는 4.3 에서의 token 입력
'개발' 카테고리의 다른 글
React Native 갑자기 build failed (0) | 2022.11.09 |
---|---|
firebase의 dynamic link를 react-natvie에서 수신 (0) | 2022.09.29 |
react-native WebView내 window.close(); (0) | 2022.08.22 |
diff_match_patch를 이용한 파일 sync (0) | 2022.08.22 |
react-native 복사한 프로젝트 apk 생성 (0) | 2022.06.16 |