mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
6 lines
144 B
Bash
Executable file
6 lines
144 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
filename="$1"
|
|
test -z "$filename" && echo "filename required." 1>&2 && exit 1
|
|
git update-index --skip-worktree "$filename"
|