Skip to content

Instantly share code, notes, and snippets.

@FrancoStino
Created July 22, 2025 08:50
Show Gist options
  • Save FrancoStino/a3c84e29f6c4a53a17cddca5de7765a6 to your computer and use it in GitHub Desktop.
Save FrancoStino/a3c84e29f6c4a53a17cddca5de7765a6 to your computer and use it in GitHub Desktop.
Git – Ignorare localmente le modifiche a un file (assume-unchanged)

🔕 Ignora localmente le modifiche a un file (non più mostrato da git status)

git update-index --assume-unchanged vite.config.js

🔁 Riprendi il tracciamento delle modifiche

git update-index --no-assume-unchanged vite.config.js

🔍 Elenca tutti i file marcati come "assume-unchanged"

git ls-files -v | grep '^h'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment