Originally, using git seemed like a daunting task to me but the process for pushing changes to your repository is actually pretty simple. The general outline of steps is this:

  1. Create branch and checkout the new branch in Git Bash. I created a branch called ‘SimpleUpdate’, and branched it off of the ‘dev’ branch.

2. Make your code updates in Unity and save your project.

3. Use ‘git status’ to verify Git is picking up your changes. In this case, I made a C# script and added it to a basic capsule object in my Unity scene.

4. If yes, use ‘git add .’ or ‘git add -A’ to add all changes to your commit.

5. Use ‘git status’ again to verify that all of your changes were added correctly.

6. Use ‘git commit -m “put your commit message here”’ to commit your updates

7. Use ‘git push origin <current branch name>’ to finally push your changes to your repository. Now the remote version of the SimpleUpdate branch will be up to date with the changes you made the Unity project locally.

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Automation vs. Manual Testing

Introduction

Transform your SDLC with Continuous Integration & Continuous Deployment

Transform your SDLC with Continuous Integration & Continuous Deployment

MoonSwap Weekly Report (July 5th to July 11th)

Programming Habits for Good Programmers

Test Driven Development with RSpec and Chef

Easy Compose for PostgreSQL Performance Stats with pgHero and Docker

Install Flutter on macOS & M1 chip — 2

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Michael Kline

Michael Kline

More from Medium

Crypto-business cheats and shortcuts

Led lights and a new way of teaching art.

CS373 Spring 2022: Cole Weinman — Week 11

Low-Power Button Replacement with Force-Sensitive Resistor