Skip to content

Commit a76433c

Browse files
committed
Add file generator
1 parent 7487a99 commit a76433c

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

.editorconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
root = true
2+
3+
[*]
4+
end_of_line = lf
5+
charset = utf-8
6+
trim_trailing_whitespace = true
7+
insert_final_newline = true
8+
9+
[*.sh]
10+
indent_style = tab

write-file.sh

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/bin/sh
2+
FILENAME=file.txt
3+
for i in $(seq 1 20)
4+
do
5+
printf "⚙️" >> "$FILENAME"
6+
git add "$FILENAME"
7+
git commit --no-verify --no-gpg-sign --author="Ghost <ghost@github.com>" -m "Update $FILENAME ($i)"
8+
done
9+
10+
printf "🐛" >> "$FILENAME"
11+
12+
for i in $(seq 21 40)
13+
do
14+
printf "⚙️" >> "$FILENAME"
15+
git add "$FILENAME"
16+
git commit --no-verify --no-gpg-sign --author="Ghost <ghost@github.com>" -m "Update $FILENAME ($i)"
17+
done

0 commit comments

Comments
 (0)