April 12, 2024

GitHub Comments can now include File Attachments

A brand new update to GitHub allows all comments to include much more than just images.

GitHub users have always been able to attach images to their comments in pull requests or support issue threads. Just recently GitHub put out a new feature that allows posters to attach files with their comments.

Currently the supported file types are as follows:

  • .txt (Plaintext)
  • .docx (MS Word)
  • .xlsx (MS Excel)
  • .pptx (MS PowerPoint)
  • .pdf (All PDFs)

Files can be attached via browsing your hard drive, or by dragging & dropping them into the comment window.

At this point most of these file formats should suffice for ancillary info to a post. Over time we may see further filetypes added to the list, but for now this is a welcome improvement on behalf of the GitHub team.

Jake is a creative writer and UI designer by trade. You can follow him on twitter @jakerocheleau or learn more at his personal website JakeRocheleau.com.

One Comment

  1. MiaAyende Reply

    Be careful with them, though…if you’re doing a private repo, the attachments are not secured. Anyone with the URL can access the file.

Leave a Reply

Your email address will not be published. Required fields are marked *