16 lines · 257 B · Shell
RawDownload
#!/bin/bashset -eu -o pipefail git init -q touch emptyecho -n "content" > executablechmod +x executable mkdir direcho -n "other content" > dir/contentmkdir dir/sub-dir(cd dir/sub-dir && ln -sf ../content symlink) git add -Agit commit -m "Commit"