7 name
=$
(echo "$@" |
sed 's/\s\+/-/g');
8 timestamp
=$
(date +'%F--%H-%M-%S');
9 directory
="$HOME/x/$timestamp--$name";
10 mkdir
-p "$directory";
12 printf '%s\n' "$name" > "$README";
13 seq 79 |
xargs |
sed -E 's/\s*[0-9]+\s*/=/g' >> "$README"
15 git commit
--allow-empty -m 'Root commit' >&2
17 git commit
-m 'Initial commit' >&2
This page took 0.057126 seconds and 4 git commands to generate.