How to setup github for UE4 project.
The step is similar to setting up Github for Unity.
- On your local machine, create a blank UE4 project, using your preferred version, call it UE4_blank_verX. This will be your template. Don’t load or create anything new on this one.
- Create a folder for your project. Keep it empty for the time being.
- Go to your github account, create a new repository. I usually add readme file and gitignore file specific to Unreal Engine.
- From this new repository, click on the green Code<> button, and copy the https URL.
- Open SourceTree, click on + to open a new tab.
- Click on Clone, then paste the URL from step 3 into Source Path/URL field. For destination path, browse to the project folder created in step 2. For Name field, you can enter the project name. Hit Clone button once you’re set.
- You’re done! Do a pull just to make sure you have the latest file from Github.