diff options
Diffstat (limited to 'etc/examples/128-empty-file')
-rwxr-xr-x | etc/examples/128-empty-file | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/etc/examples/128-empty-file b/etc/examples/128-empty-file new file mode 100755 index 00000000..a52bdb0c --- /dev/null +++ b/etc/examples/128-empty-file @@ -0,0 +1,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 |