Create centralized repository for open source projects #230
martindocs
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I have a question. Is it possible to have one repository for a collection of projects? What I mean is, can I create a single repository with subfolders, where each subfolder represents a project I have worked on?
By default, when forking a repository, it is placed in the root directory of your profile. However, I prefer to keep things organized and tidy, so I don't want to have a bunch of projects cluttering my root directory. Instead, I would like to have a single repository specifically for my contributed projects.
I attempted to do this, but I encountered some issues along the way. Here's what I did:
I forked the project I was working on, made all the necessary changes, added and committed them, and then pushed to my forked project. I also created a new repository where I intended to list all my contributed projects in the README.md file. I cloned this new repository to my local machine and moved the earlier worked open source project into a subfolder within it. I added, committed, and pushed the changes to the new repository.
However, when I checked my repository on GitHub, I noticed that the subfolder was not clickable, and it appeared to be empty. It seems that I did something wrong along the way.
Furthermore, I tried to merge the changes, but it resulted in conflicts. Although I was able to resolve the conflicts, the merge didn't happen as expected. My README.md file was merged, but the subfolder I had before was gone, and only the project remained.
I hope this clarifies what I'm trying to achieve: having a single repository with subfolders for each of my contributed projects.
Beta Was this translation helpful? Give feedback.
All reactions