Note: I am relatively new to Git / GitHub. I understand my way around, but I am confused with this corner case
Background
I created an IntelliJ color scheme git repo and pushed it to github online. The directory structure was ad hoc and made up of only output
. This was actually fine and worked well.
I noticed that people would not get updates from me this way, and decided to create a JetBrain Repo plugin. This also works well; however, my github location and plugin location on my PC are different.
Issue
I looked over Change Git repository directory location. but was not sure if this fit my usecase.
Since my github is just output files
and my plugin files are all input files
, can I simply just copy over my .git
files (along with README files and such) , and expect it to work correctly?
The linked SO question seems to relate to JUST moving the same directory structure and files over to another location. I am dealing with different directory structure, different files, and directory location; however, it IS the same project.
Update
Before, my workflow was:
- Modify Color Scheme in IDE
- Export settings from IntelliJ
- Place in
\Documents\GitHub\ChroMATERIAL
- Windows GitHub Client:
\Documents\GitHub\ChroMATERIAL
merge - GitHub
Now it is
- Modify Color Scheme in IDE
- Run project and autogenerate output in
\IdeaProjects\ChroMATERIAL
- Place output in
\Documents\GitHub\ChroMATERIAL
- Windows GitHub Client:
\Documents\GitHub\ChroMATERIAL
merge - GitHub
What I want
- Modify Color Scheme in IDE
- Run project in
\IdeaProjects\ChroMATERIAL
- Windows GitHub Client:
\IdeaProjects\ChroMATERIAL
merge - GitHub