#!/bin/bashset -eu -o pipefail git init -qgit config commit.gpgsign false git checkout -b maintouch thisgit add thisgit commit -q -m c1echo hello >> thisgit commit -q -am c2 mkdir -p some/very/deeply/nested/subdir git init --bare bare.git
#!/bin/bash
set -eu -o pipefail
git init -q
git config commit.gpgsign false
git checkout -b main
touch this
git add this
git commit -q -m c1
echo hello >> this
git commit -q -am c2
mkdir -p some/very/deeply/nested/subdir
git init --bare bare.git