Skip to main content

Esta versão do GitHub Enterprise foi descontinuada em 2022-10-12. Nenhum lançamento de patch será feito, mesmo para questões críticas de segurança. Para obter melhor desempenho, segurança aprimorada e novos recursos, atualize para a última versão do GitHub Enterprise. Para obter ajuda com a atualização, entre em contato com o suporte do GitHub Enterprise.

Attaching files

You can convey information by attaching a variety of file types to your issues and pull requests.

Aviso: se você anexar um arquivo a uma solicitação de pull, a um comentário de problema, a um tíquete no Portal de suporte do GitHub, qualquer pessoa poderá exibir a URL anônima sem autenticação, mesmo que a solicitação de pull esteja em um repositório privado ou um modo privado esteja habilitado. Para manter arquivos de mídia confidenciais privados, forneça-os a partir de uma rede privada ou servidor que exige autenticação.

To attach a file to an issue or pull request conversation, drag and drop it into the comment box. Alternatively, you can click the bar at the bottom of the comment box to browse, select, and add a file from your computer.

Select attachments from computer

When you attach a file, it is uploaded immediately to GitHub Enterprise Server and the text field is updated to show the anonymized URL for the file.

Tip: In many browsers, you can copy-and-paste images directly into the box.

The maximum file size is:

  • 10MB for images and gifs
  • 100MB for videos
  • 25MB for all other files

We support these files:

  • PNG (.png)
  • GIF (.gif)
  • JPEG (.jpg)
  • Log files (.log)
  • Microsoft Word (.docx), Powerpoint (.pptx), and Excel (.xlsx) documents
  • Text files (.txt)
  • PDFs (.pdf)
  • ZIP (.zip, .gz)
  • Video (.mp4, .mov)

Note: Video codec compatibility is browser specific, and it's possible that a video you upload to one browser is not viewable on another browser. At the moment we recommend using h.264 for greatest compatibility.

Attachments animated GIF