#!/bin/bashset -eu -o pipefail git init -qgit config commit.gpgsign false 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"
#!/bin/bash
set -eu -o pipefail
git init -q
git config commit.gpgsign false
touch empty
echo -n "content" > executable
chmod +x executable
mkdir dir
echo -n "other content" > dir/content
mkdir dir/sub-dir
(cd dir/sub-dir && ln -sf ../content symlink)
git add -A
git commit -m "Commit"