Skip to main content

이 버전의 GitHub Enterprise는 다음 날짜에 중단되었습니다. 2024-09-25. 중요한 보안 문제에 대해서도 패치 릴리스가 이루어지지 않습니다. 더 뛰어난 성능, 향상된 보안, 새로운 기능을 위해 최신 버전의 GitHub Enterprise Server로 업그레이드합니다. 업그레이드에 대한 도움말은 GitHub Enterprise 지원에 문의하세요.

리포지토리의 소셜 미디어 미리 보기 사용자 지정

다른 사용자가 리포지토리에 연결할 때 소셜 미디어 플랫폼에 표시되는 이미지를 사용자 지정할 수 있습니다.

Until you add an image, repository links expand to show basic information about the repository and the owner's avatar. Adding an image to your repository can help identify your project across various social platforms.

Adding an image to customize the social media preview of your repository

You can upload an image to a private repository, but your image can only be shared from a public repository.

Tip: Your image should be a PNG, JPG, or GIF file under 1 MB in size. For the best quality rendering, we recommend a size of at least 640 by 320 pixels (1280 by 640 pixels for best display).

  1. On GitHub, 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.

    Screenshot of a repository header showing the tabs. The "Settings" tab is highlighted by a dark orange outline.

  3. Under "Social preview", click Edit.

    • To add a new image, click Upload an image....
    • To remove an image, click Remove image.

    Screenshot of the "Social Preview" section. The "Edit" button is highlighted with an orange outline, and a dropdown displays the options for uploading or removing an image.

About transparency

We support PNG images with transparency. Many communication platforms support a dark mode, so using a transparent social preview may be beneficial.

When using an image with transparency, keep in mind how it may look on different color backgrounds or platforms that don't support transparency.

Tip: If you aren't sure, we recommend using an image with a solid background.