Skip to the content.

Showing hidden files on macOS

Depending on your macOS settings, some files may be hidden from view in your Finder window, such as .gitignore.

Press the “Command” + “Shift” + “.” (period) keys at the same time.

(The hidden files will show up as translucent in the folder. If you want to obscure the files again, press the same “Command” + “Shift” + “.” (period) combination.)

defaults write com.apple.finder AppleShowAllFiles -bool true

More info on that can be found here:<ul>

  • https://www.defaults-write.com/show-hidden-files-in-os-x-finder/
  • https://www.macworld.co.uk/how-to/mac-software/hidden-files-mac-3520878/
  • https://setapp.com/how-to/show-hidden-files-on-mac
  • </ul>