Git basic workflow how to use - HPetch/DES203-Group-15 GitHub Wiki

How to use GitHub Desktop

Git will track what changes you make to files and show that in GitHub Desktop - BUT this will only be the changes made on your local copy of the repository.

For example, I have made a change to a couple of assets and saved my work, and in GitHub Desktop it now shows:

image

Turn off any tickboxes on files you don't want to be updated for everyone else. For example, Unreal Engine tends to liberally autosave and update the map files if you move the viewport slightly. Tick these off, so that you always keep the latest updated level designs from the server. But leave any files you have changed and want to update for everyone ticked.

To submit something to version control you need to write out the Summary and Description. Use summary to tell us what you have changed - e.g. "Player movement system refactored" or "Added bricks to levels". If you've done a lot of stuff and need to update the description, write this as a bulleted list of what stuff you have changed and how.

After this you can press Commit to (Your branch name here. See here on how to make a branch) - this will bundle and ready the changes to go on the server. To finalise these changes and push it to the server, press the Push to Origin button:

image

Everyone else will then see the button change to "Pull changes". Clicking this button updates your files so they match the online one.