#!/usr/bin/env bash filename=$1 test -z $filename && echo "filename required." 1>&2 && exit 1 git update-index --no-skip-worktree $filename