The File Extensions Database


.GITKEEP File Extension

  • Category: Developer Files
  • Format: Text

What is an .GITKEEP file?

.GITKEEP is Git Keep File

A GITKEEP file is an empty file that Git users create so that a Git repository preserves an otherwise empty project directory. By convention, empty directories that contain no files are not committed to Git repositories. However, a single GITKEEP file in a directory causes Git to preserve the directory in the repository.

The file extension ".gitkeep" is not a part of the official Git standard but has come about by convention with some Git users. The extension name is considered a good choice because it is the opposite of .GITIGNORE, which is an official Git file extension that tells Git which files to ignore when committing to the repository.

Programs that open Git Keep File
Windows
Git
Mac
Git
Linux
Git

How to solve problems with GITKEEP files

  • Associate the GITKEEP file extension with the correct application. On :
    Windows: Right click on any GITKEEP file and then click "Open with" > "Choose another app". Now select another program and check the box "Always use this app to open *.GITKEEP files". Mac: Right click (or Ctrl-click) the GITKEEP file, then click "Open with" > "Other...". Then choose another program and check the "Always Open With" box. Linux: Right click on the file, and select "Open with" and choose another program. iPhone: Tap the file. If you do not see an app to open the file, then tap Share "Share" and choose an app. Alternatively, save the file. Then open the Files app Files app. There long-press on the file, then release your finger. You will see a black menu bar. Then tap "Share" and select an app. Android: Tap the Settings icon on your smartphone, then tap on the Apps section. There tap the Options icon in the top right-hand corner of the screen to change the default apps.
  • Update your software that should actually open .GITKEEP is Git Keep File. Because only the current version supports the latest GITKEEP file format. Search, therefore, e.g. on the N/A manufacturer website after an available .GITKEEP is Git Keep File update.
  • To make sure that your GITKEEP file is not corrupted or virus-infected, get the file again and scan it with antivirus software.