Code and config

.gitignore viewer

To open a .gitignore file, drop it in the box below. It opens straight away, even with no extension or the wrong one. Your browser opens it on your device: nothing is uploaded.

Opened on this device, never uploadedDrop or paste another file at any time

What you see

.gitignore in the viewer
Names.gitignore, .dockerignore, .npmignore, .prettierignore, .eslintignore, .hgignore, .gitattributes, CODEOWNERS
CommentsLines starting with #
Extensions.gitignore
UploadNone: opened on your device

What is a .gitignore file?

In short

A .gitignore lists the files Git leaves out of a repository, one pattern a line. .dockerignore, .npmignore, .prettierignore, .eslintignore, .gitattributes and CODEOWNERS are written the same way.

The patterns with line numbers, with Wrap lines and Copy. They are shown as plain text, without colours.

How to open a .gitignore file

  1. Add your .gitignore. Drop the file in the box, choose it or paste it.
  2. Look at it. The patterns with line numbers, with Wrap lines and Copy. They are shown as plain text, without colours.
  3. Take it further. Download any file from inside an archive, or open another file.

Questions

Names starting with a dot are hidden on Mac and Linux. Drop the file here, or pick it with hidden files shown.

No. The viewer runs in your browser and opens the file on your device. Nothing is sent anywhere.

Related