Push rejected

I’m just trying to set up basic version control for my Android project. I have not used git for a project before, so I don’t really know what I’m doing.

I followed this guide, but when I get to the push part, the Event Log panel just says Push to origin/master was rejected

I am signed in through Android Studio as noted in the guide, and I have tried:

  • Using the android template project set to private
  • Using the blank template project set to public

I have found a solution! I deleted the project and the push worked. The project was created when pushing to the remote without having created a project first. Now I’m unsure what the project templates here on gitlab are for, if they are incompatible with git… :thinking: