본문 바로가기
Git

[언리얼5] .gitignore 파일 정의

by 위니밍 2024. 6. 1.
반응형

* 2025/02/13 

 

lfs로 업로드한 파일은 깃허브에서 직접 다운로드 불가능함. lfs로 업로드한 파일들이 다운로드가 안됐었음.

=> 업로드 했던것과 같이 github desktop 을 통한 clone 시 정상 작동

 

 

----------------------------------------------------------------------------------------------------------------------------------------------------------------

* 2025/01/26 폴더구조 정리 및 lfs 적용

 

 

 

해당 폴더 구조로 정리 후 메인 폴더에서 깃배쉬 들어간 후

git lfs track "Course*/**/Content/*"

를 통해 Content폴더는 lfs로 관리하기로 결정!

 

추가로 메인 ignore와 개별폴더 ignore를 개별화해 프로젝트 당 업로드 파일 관리를 가능도록 함.

-메인 .gitignore

.gitignore
0.00MB

 

-개별 .gitignore

.ignore
0.00MB
.gitignore
0.00MB

 

 

----------------------------------------------------------------------------------------------------------------------------------------------------------------

*강의에서 사용중인 이그노어 / CryptRaider 프로젝트 이후 적용 예정

ignore
0.00MB
gitignore
0.00MB

 

 

----------------------------------------------------------------------------------------------------------------------------------------------------------------

* 25/01/18 사용중인 .gitignore 파일

# Ignore all files by default
*

# Allow directories
!*/

# Do not ignore git files in the root of the repo
!/.git*

# Do not ignore `.uproject` files in any directory
!*/**/*.uproject

# Allow Source, Config, and Plugins directories for all projects
!*/**/Source/
!*/**/Config/
!*/**/Plugins/

# Ensure all files within allowed directories are included
!*/**/Source/**
!*/**/Config/**
!*/**/Plugins/**

# Allow specific Unreal Engine file types in Content directory
!*/**/Content/**/*.uasset
!*/**/Content/**/*.umap

# Allow all files in RawContent directory for all projects
!*/**/RawContent/**

# OS/platform generated files

# Windows
ehthumbs.db
Thumbs.db

# Mac OS X
.DS_Store
.DS_Store?
.AppleDouble
.LSOverride
._*

# Linux
*~
.directory

# vim
[._]*.s[a-w][a-z]
[._]s[a-w][a-z]
*.un~
Session.vim
.netrwhist

# Visual Studio
.vs

----------------------------------------------------------------------------------------------------------------------------------------------------------------

*  25/01/15 블루프린트 파일들이 옮겨지지 않았음.

https://github.com/github/gitignore/blob/main/UnrealEngine.gitignore

해당 링크 참조해서 업데이트.

----------------------------------------------------------------------------------------------------------------------------------------------------------------

*  25/01/18 폴더구조 업데이트에 따른 " /* " 추가

반응형

'Git' 카테고리의 다른 글

[Git] Git Push 한 Commit 삭제  (0) 2024.03.30
[Git] D드라이브 Git Project Clone오류 해결  (0) 2024.03.30