Good Git practices - Learning from mistakes

Today, I ran into some interesting problems while I was working on my Wwise project for one of our games.

It turns out, my local files had diverged long time ago, and I had done work on my diverged project.

This happened probably because I had forgotten to pull the master’s changes to my local files.

A good habit is to always pull every 30 minutes.

Then, make small pushes so that your changes are always constant.

The more frequent you and your team are making changes and checking for changes, the easier it is to back it up when there are problems. All it takes is to do a simple git check on the terminal.

That’s it for today! Hope you have a wonderful day.