os44 個の有効ルール2026-09-30 検証済み
macOS .gitignore テンプレート
macOS operating system artifacts, metadata files, and Finder cache. 公式GitHubリポジトリの最新パターンと決定論的に統合され、パッケージディレクトリ、一時ビルド成果物、ローカル環境ファイルをクリーンに保ちます。
スタック統合ジェネレーター
フルジェネレーターで開く/
Search for templates
クイック追加:
選択中1
macOS
選択されたテンプレート (1)
macOS
os
macOS operating system artifacts, metadata files, and Finder cache
#macos#osx#darwin
.gitignore
44 ルール•1 テンプレート
### macOS #### General.DS_Store.localized__MACOSX/.AppleDouble.LSOverrideIcon[
] # Resource forks._* # Files and directories that might appear in the root of a volume.DocumentRevisions-V100.fseventsd.Spotlight-V100.TemporaryItems.Trashes.VolumeIcon.icns.com.apple.timemachine.donotpresent.com.apple.timemachine.supported.PKInstallSandboxManager.PKInstallSandboxManager-SystemSoftware.hotfiles.btree.vol.file.disk_label*lost+found.HFS+ Private Directory Data[
] # Directories potentially created on remote AFP share.AppleDB.AppleDesktopNetwork Trash FolderTemporary Items.apdisk # Mac OS 6 to 9Desktop DBDesktop DFTheFindByContentFolderTheVolumeSettingsFolder.FBCIndex.FBCSemaphoreFile.FBCLockFolder # Quota system.quota.group.quota.user.quota.ops.group.quota.ops.user # TimeMachineBackups.backupdb.MobileBackups.MobileBackups.trashMobileBackups.trashtmbootpicker.efi 59 行•UTF-8•LF
決定論的パイプライン
生ソース: macOS .gitignore
クローラブルな公式アップストリーム原典macos.gitignore•58 lines•UTF-8
# General.DS_Store.localized__MACOSX/.AppleDouble.LSOverrideIcon[
] # Resource forks._* # Files and directories that might appear in the root of a volume.DocumentRevisions-V100.fseventsd.Spotlight-V100.TemporaryItems.Trashes.VolumeIcon.icns.com.apple.timemachine.donotpresent.com.apple.timemachine.supported.PKInstallSandboxManager.PKInstallSandboxManager-SystemSoftware.hotfiles.btree.vol.file.disk_label*lost+found.HFS+ Private Directory Data[
] # Directories potentially created on remote AFP share.AppleDB.AppleDesktopNetwork Trash FolderTemporary Items.apdisk # Mac OS 6 to 9Desktop DBDesktop DFTheFindByContentFolderTheVolumeSettingsFolder.FBCIndex.FBCSemaphoreFile.FBCLockFolder # Quota system.quota.group.quota.user.quota.ops.group.quota.ops.user # TimeMachineBackups.backupdb.MobileBackups.MobileBackups.trashMobileBackups.trashtmbootpicker.efi 主要除外パターンの解説
キャッシュ・一時ファイル
コンパイラキャッシュ、テストカバレッジデータ、一時作業ファイルを除外してリポジトリを軽量に保ちます。
.TemporaryItems
OS・エディタ固有ファイル
macOS の .DS_Store やローカルエディタの設定フォルダなど、開発者固有のファイルをフィルタリングします。
.DS_Store
ソース元とライセンス検証
ライセンス:: CC0-1.0
このファイルをプロジェクトのルートディレクトリに .gitignore というファイル名で配置してください。新規および未追跡ファイルに即座に反映されます。