summaryrefslogtreecommitdiff
path: root/etc/examples/128-empty-file
blob: a52bdb0cbb60aaaa4d35c87cbc09b8c4079ec7e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash


repo=$(mktemp -d)
cd $repo

git init
git commit --allow-empty -m "Initial commit"

touch file

git add file
git commit -m "Initial commit"

git show