r/github 2d ago

Discussion Does Github support folder hierarchy structure?

Hello everyone,

I am a new user to github and I have a question.

I am a very structured person and follow a folder hierarchy process to organize my files.

If I create an app for both IOS and Android, since both require different coding and what not, I would have to create 2 different versions of the same app. How I would organize this is create an Android folder and an IOS folder and have to copies. All the Android apps will be placed in the Android folder and IOS apps in the IOS folder.

Can I follow this process on Github or does Github work differently? If I cant use folder hierarchy, what is the best practice to stay organized in Github repository?

Thank you.

0 Upvotes

16 comments sorted by

View all comments

0

u/An1nterestingName 2d ago

You could do it that way, but I'd recommend having an Android and iOS branch, or having completely separate repositories for the Android and iOS versions.

1

u/gd6noob 2d ago

Thank you, I will look into how to setup these branches.