How do I open source an Android app?

https://lemmy.world/post/45068015

How do I open source an Android app? - Lemmy.World

I’ve been building an app for some time and I’m interested in open sourcing it. I’ve searched the net but I haven’t found a good thorough guide on how to open source an app. So, besides choosing a place to put my code (github etc), what are some other advice you can give me in order to do it right? Thanks in advance

You should check out .gitignore templates and .gitignore file in other open source Android apps to see what needs to be published, what doesn’t need to be published, and most importantly what you should not publish. You should get a couple of results when you search “gitignore android studio”.
Noted, thank you
gitignore.io

Create useful .gitignore files for your project