summaryrefslogtreecommitdiffstats
path: root/etc/examples/127-paths-with-spaces--added
blob: 3a5096c215f038d36adae0dfa28d5a277aa75157 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash


repo=$(mktemp -d)
cd $repo

mkdir "with space"
echo "file1 contents" > "with space/file1"

mkdir "nospace"
echo "file2 contents" >  "nospace/file2"

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

git show