This version of GitHub Enterprise will be discontinued on This version of GitHub Enterprise was discontinued on 2020-05-23. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise. For help with the upgrade, contact GitHub Enterprise support.

Article version: Enterprise Server 2.17

File attachments on issues and pull requests

When you open issue or update a pull request, you can use issue attachments to upload images of proposed features or screenshots of bugs.

Warning: If you add an image to a pull request or issue comment, anyone can view the anonymized image URL without authentication, even if the pull request is in a private repository, or if private mode is enabled. To keep sensitive images private, serve them from a private network or server that requires authentication.

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

Tip: If you're using Chrome, you can also copy-and-paste images directly into the box.

The maximum size for files is 25MB and the maximum size for images is 10MB.

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)

Attachments animated GIF

Ask a human

Can't find what you're looking for?

Contact us