본문 바로가기

준비중

Git HUB 유니티

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           

 

 

'준비중' 카테고리의 다른 글

OCR  (0) 2022.06.26
유니티 빌드  (0) 2022.06.21
유니티 ECS는 가짜다  (0) 2022.06.02
유니티 빌드 옵션 모음  (0) 2022.06.02
유니티 메모리 관리 2  (0) 2022.06.02