개발공부
[Git] 팀 프로젝트를 내 git으로 옮기기
pumaclass
2024. 8. 9. 01:32
1. 오리지널 repo 코드를 clone
터미널에서 팀의 프로젝트를 클론한다.
더보기
git clone https://github.com/팀 계정
2. 내 깃허브에 새로운 Repository를 추가한다.
이후 클론 된 프로젝트의 터미널에서 아래와 같이 입력한다.
더보기
git remote set-url origin https://github.com/깃허브ID/new.git
git push
3. fatal: not a git repository (or any of the parent directories): .git 오류 발생시
- git init으로 초기화