I've been developing our senior project Android App on Android Studio for OS X and the only other person that has been pulling/committing code is also on OS X. Today one of our partners pulled then opened Android Studio and then committed the changes, and it caused Android Studio to be unable to build the project and Gradle was also missing, so I had to roll back to a previous commit.
Is there a way to prevent this from happening so that the Windows users can work on the app with us OS X users?