Dadparvar
Well-known member
Not a professional GitHub user, and Never used GitHub for this kind of structure of a project, and now I want to start using GitHub for my XF add-ons. I have a small question about it.
All my add-ons have this structure:
As I know so far, the only way for me is to manually upload the new version of files in the repository in GitHub, whenever I update the add-on in localhost. Because js library and style files of each add-on are in different places and not foldered next to each other inside 1 single folder.
Am I right? or there is a way to define for the GitHub's desktop app to know which folders are for the GitHub project?
for example, this is a project in my git: https://github.com/Dadparvar/xf1ctaftlayouts
for this add-on: https://xenforo.com/community/resources/ha-cta-ft-layouts.5209/
(you know how is its structure in my local) now how to define the repo in my desktop git app so that I easily be able to commit push pull and ... without manual copy-pasting?
Thanks in advance
All my add-ons have this structure:
- js
- dadparvar
- add-on name
- dadparvar
- library
- dadparvar
- add-on name
- dadparvar
- style
- default
- dadparvar
- add-on name
- dadparvar
- default
As I know so far, the only way for me is to manually upload the new version of files in the repository in GitHub, whenever I update the add-on in localhost. Because js library and style files of each add-on are in different places and not foldered next to each other inside 1 single folder.
Am I right? or there is a way to define for the GitHub's desktop app to know which folders are for the GitHub project?
for example, this is a project in my git: https://github.com/Dadparvar/xf1ctaftlayouts
for this add-on: https://xenforo.com/community/resources/ha-cta-ft-layouts.5209/
(you know how is its structure in my local) now how to define the repo in my desktop git app so that I easily be able to commit push pull and ... without manual copy-pasting?
Thanks in advance