Skip to content

Instantly share code, notes, and snippets.

@obritoluis
Created May 6, 2020 10:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save obritoluis/93eb23cc66267ad902bd9444132d7943 to your computer and use it in GitHub Desktop.
Save obritoluis/93eb23cc66267ad902bd9444132d7943 to your computer and use it in GitHub Desktop.
# Remove previously tracked files
git ls-files -z ./ | xargs -0 git update-index --assume-unchanged --skip-worktree
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment