How do I setup Git for an UE4 project?



https://answers.unrealengine.com/questions/16787/how-to-setup-git-for-an-ue4-project.html

/Binaries
/DerivedDataCache
/Intermediate
/Saved


As a general rule, you should check in all files that are required to make a successful build of your projectand cannot be generated from other files. If you or someone else clones your project, they must have everything that is needed for the project - not more not less. Files that are not needed for your project or that can be automatically generated from other files in your project should not be included, because that would be a waste of disk space and just cause conflicts when someone downloads your latest version into their local workspace. The only exception may be documentation, readme files and sample code that may help someone with your project.

Here is a typical folder structure for a code-based project. The files and folders in bold should be included, the rest can (and should) be safely ignored:

  • Binaries*

  • Build - any custom build scripts or other build related dependencies you may have

  • Config - the default configuration files for your packaged project

  • Content - *maps, content files and assets***

  • DerivedDataCache - temporary data files generated when you run the game

  • Intermediate - temporary files generated when you compile your code

  • Saved - local log & configuration files, screenshots, auto-saves etc. that are generated each time you run the game or Editor

  • Source - the source code of your project

  • If your project uses third-party libraries, i.e. when integrating some software components or hardware devices, you may have DLLs, LIBs or other files in your Binaries directory that must be included if your project depends on them. However, do not include the DLLs and debug files (.pdb) that are generated for the project itself, i.e. MyProject.dll and MyProject.pdb.

**) Make sure you do not discard your raw assets after importing them into the Engine. While they are not strictly required for building the project (the content packages should contain everything needed to run your game), we recommend that you keep them somewhere in version control. If you don't want to keep them in your project's repository (i.e. because you don't want to give them to the public) you should at least maintain some other private repository for yourself so that you do not loose any changes and can always go back to prior versions of textures, static meshes, sounds and so on, if needed.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值