简体   繁体   中英

How to manage repositories on GitHub

I'm new to git and wanted your opinion/advice on how I should set up my repo.

I have created a new repository (public), for a project that I'm going to be working on, on github. This project is an Android app. Now suppose that I also wanted to create the same app for WebOS, would this be a different branch of the same repo? Or would I be better off creating a different repo for the WebOS app and calling it something different?

If its related to the same project I would recommend putting things in folders

  • android
  • webos
  • common
  • website

So then each folder can have the files just for the platform. You can use the common dir to use anything that is common with all of them

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM