준비중

Git HUB 유니티

ClientProgrammer 2022. 6. 23. 17:54

https://github.com/programmer119/TinyRacing/tree/master

 

1.gitbash 설치

2.github 사이트에서 리포지토리 생성 ( 옵션을 unity로 변경 해 주면 unity 관련 ignore 파일 생성 됨 )

3.유니티 프로젝트 만들고 해당 우클릭해서 깃 배쉬 실행 후 폴더를 깃 폴더로 등록 후 로그인

git init 
git push --set-upstream origin master

 

4.깃허브 사이트에 만들어둔 경로와 연결 후 리모트에 있는 ignore 파일 받아오기
git remote add origin https://github.com/programmer119/TinyRacing
git pull origin main

 

5.대용량 파일 업로드 등록 ( 대용량 파일 필요 없으면 생략 가능 )
git lfs install
git lfs track “*.zip”
git add .gitattributes

 

6.올리기

git add .

git commit -m “commit all"
git push -u origin main