18 lines · 245 B · Shell
RawDownload
#!/bin/bashset -eu -o pipefail git init -q cat <<EOF >.git/info/exclude# a sample .git/info/excludefile-anywhere/file-from-top dir-anywhere//dir-from-top subdir-anywhere/filesubdir-anywhere/dir/EOF git commit --allow-empty -m "init"