Github Wiki as a subfolder of the main project - github

We have a project self-hosted on our Phabricator instance. I made a mirror of the project on GitHub.
The project has a subfolder called docs that contains the documentation in Markdown.
If the project was hosted on Github, I would add the wiki as a submodule of the main project -- however, the project is hosted on Phabricator and I do not want anything on the Phabricator repo to link to GitHub.
How can I tell Github to use the docs/ folder for the wiki, without any modification needed to the Phabricator repo?

This link from GitHub's documentation would indicate that GitHub wiki's are stored in a separate repository which I would think means this is not possible.

Related

Does Github Project Classic not exist anymore?

In my previous Github repos, I was able to create a project under the repo which was specific to the repo, but now I cannot see this option for the new repos.
I can still use Project (Classic) in my previous repos.
Github now push me to create a project under my account, and link to the repo, but I want to create a project just under the repo.
In my side, the problem is that, when I try to create an "Issue", the user can see all of my projects under my account, but I don't want that.
The user should only see the related project.
Can I somehow have the previous version of the projects?
Thanks

Only repository name showing on the public link created by Github in my pages section

I am new to coding area, and started learning coding since last few days; I have completed some projects.
But, when I want to upload and live it on GitHub platform, it is just showing the repository name when going to the created link.
I manually uploaded 1 file of CSS and HTML each, its showing problem.
If you have your projects set up as nested Git repository inside your main local repository, then you would see those subrespo root folder as links (gitlinks, a special entry in the index) indeed.
myProjects
.git/
project1
.git/
project2
.git/
...
Make sure to create one GitHub repository per project.
You can do so from your workstation, using the GitHub CLI gh, with gh repo create:
# create a remote repository from the current directory
gh repo create my-project --source=.

what is the difference between github project and project inside repository?

I know this question sounds dumb, but I am unable to understand the difference between the main project and project option provided inside each repository.
Are they same? (But the URL differs)
I looked at help.github.com
but it doesn't help.
I basically understand that for larger projects management, project inside repository is helpful.
on what uses cases, they provided the another project outside of repository and linking those repositories to it?
Is that for structuring?
There is a repository on github (sometimes called a "project") where you store your code. You change the code, make a git commit, and push those code changes to the github repository.
GitHub also has a feature called "projects" which provides you a method for managing the work that needs to be done on the code. GitHub also has "issues", an issue tracker. You can use the GitHub Project Board to organize your GitHub issues, giving you a way to see see where things are at in your effort on the code.
You can turn off the "projects" and "issues" features in the repository settings, you don't have to use them. The center of work is the code in the repository, which might be referred to as a project -- the Projects feature lets you manage your issues in GitHub in a more visual format.
The difference is in the scope. The "main project" (user-owned project board) can have issues and pull requests from multiple repositories whereas the "project in repository" (repository project board) can contain only the issues and pull requests belonging to that repository.
From the Project boards docs:
Types of project boards:
User-owned project boards can contain issues and pull requests from any personal repository.
Organization-wide project boards can contain issues and pull requests from any repository that belongs to an organization. You can link up to twenty-five repositories to your organization or user-owned project board...
Repository project boards are scoped to issues and pull requests within a single repository. They can also include notes that reference issues and pull requests in other repositories.

How to use the used by button in the GitHub repository?

Hello I have published a library in my GitHub repository and i want to use the used by button in the repository
I checked the repository settings but found no options to enable it
How do I enable this button in my repository?
netlify/staticgen issue 507 also asks, as you do:
GitHub introduced a new metric, which I find much more relevant than stars or downloads. It shows the number of times a dependency is used by other repositories.
How is this metric added to a repository?
GitHub shows package metrics for projects that use a package manager, eg. if your repo has a package.json, it will use that to show your dependency network.
It is then automatically analyzed by GitHub, which scan other repository where your project reference shows up.
This was announced last May 2019 by GitHub.
And it can be misleading (for monorepos)
Official documentation: "Listing the projects that depend on a repository"
This is only for projects using:
RubyGems
NPM
PyPI
Maven (pom.xml only)
Nuget
Check the supported languages.

Recover code repository in Github?

I recently inherited a project that used to be setup with Github for version control. However, due to lack of communication from the original developer, I'm left with code base that lives on the production. Question I have is if it's possible to recover a code repo in Github given that I have the .git folder that contains all git related files?
If there's an existing .git folder, it's probably an existing git repository. You could just follow the instructions for adding an existing project to Github and get it that way.