#!/usr/bin/env bash
## Unlock a file excluded from version control.
## Source: git-extras

filename="$1"
test -z "$filename" && echo "filename required." 1>&2 && exit 1
git update-index --no-skip-worktree "$filename"
