#!/bin/bash # Show repository status and ignored files echo "🔍 HereIAm Repository Status" echo "============================" echo "" echo "📁 Files tracked by Git:" echo "------------------------" git ls-files | sort echo "" echo "🚫 Files ignored by Git:" echo "------------------------" git status --ignored --porcelain | grep '^!!' | sed 's/^!! //' | sort echo "" echo "📊 Repository Summary:" echo "---------------------" tracked_count=$(git ls-files | wc -l | tr -d ' ') ignored_count=$(git status --ignored --porcelain | grep '^!!' | wc -l | tr -d ' ') echo "Tracked files: $tracked_count" echo "Ignored files/directories: $ignored_count" echo "" echo "💾 Repository size (tracked files only):" git ls-files | xargs du -ch 2>/dev/null | tail -1 echo "" echo "📦 Distribution files (if built):" if [ -d "dist/" ]; then echo "Built applications:" find dist/ -name "*.app" -o -name "*.dmg" | while read file; do size=$(du -sh "$file" | cut -f1) echo " $file ($size)" done else echo " No distribution files found. Run 'make build' to create them." fi