Debian Codegraph @

etc/examples/127-paths-with-spaces--renamed

raw symbols SCIP
1 #!/bin/bash
2
3
4 repo=$(mktemp -d)
5 cd $repo
6
7 mkdir "with space"
8 echo "file1 contents" > "with space/file1"
9
10 mkdir "nospace"
11 echo "file2 contents" > "nospace/file2"
12
13 git init
14 git commit --allow-empty -m "Initial commit"
15 git add .
16 git commit -m "Initial commit"
17
18 git mv "with space/file1" "with space/file1-renamed"
19 git mv "nospace/file2" "nospace/file2-renamed"
20 git commit -m "Rename"
21
22 git show