imagegithubtagsbanner

How to add a banner photo to GitHub Repository (in tags list)?


So I'm building an FPS game with Three.js.

But that's not what this is about.

I went on GitHub and searched other repositories with the tag fps-game, to see what makes them popular.

But some of them have a background photo (or "banner") on the Repository.

Example photo 1

However, mine doesn't:

Example photo 2

Obviously this is a custom picture.

How can I do the same thing with mine?


Solution

    1. On GitHub.com, navigate to the main page of the repository.
    2. Under your repository name, click Settings. If you cannot see the "Settings" tab, select the dropdown menu, then click Settings.
    3. Under "Social preview," click Edit
    4. To add a new image, click Upload an image....
    5. To remove an image, click Remove image

    OR read the instrustions there:

    https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/customizing-your-repositorys-social-media-preview