git update-index –assume-unchanged and git reset June 15, 2023 by Tarik You can do: git update-index --skip-worktree A