How To Publish Unreal Projects To Github From Visual Studio

How to upload unreal project to github and the unreal engine gitignore.

We will be uploading unreal engine projects to GitHub using visual studio community 2022.

Prerequisites

Installations

  1. Using Visual Studio Installer. Install the “Git For Windows” and the “GitHub Extension for Visual Studio”. You can skip this if you already have them.

How to publish a project

Copy the unreal engine “.gitignore” template into the folder of the project you want to publish to GitHub. You can get it here:

setup gitignore for unreal engine project

NB: you must do this first before adding to source control, also you might need to edit the .gitignore and add anything you don’t want to upload (like meshes inside the Content folder). See The Tutorial For modifying .gitignore.

In Visual Studio Click Add To Source Control, Then Git.

visual studio add to git button

Then log in to Github using the “Create a new Github repository” section. And then use the “Create And Push” button to publish the project on the GitHub server.

Unreal Engine Publish Project To Github

Click yes on the next prompt if there is any. Your Project Should be on GitHub now. You can log in through Chrome and Check it.

How to commit and push changes

How To Commit and Push Changes To Github server:

Go to the “Git changes” Tab and then click on the Commit all drop-down arrow, then select “Commit All And Push”.

Commit-git-changes

NB: push means “push the update to the server” in layman’s terms.

Commit just means making a record of the change.

 

NB: From now on, you just have to repeat the pushing stage whenever you want to save your changes to the server / Github.

 

NB: For future Projects, you just need to repeat steps 2 to 4.

5/5

Gamechanger plugin for notehighway rhythm games and music visualizers

5/5

Add Text and 2D UMG widgets to Level Sequences

Consider investing in some of our plugins. They might save you some time.  Also helps supports these tutorials.

Instantly get access to our plugins like Blender Curves Importer and UMG Cinematics and more when  you support us on Patreon!

 Join Us On Discord For More Daily Tips!