This repository has been archived by the owner on Dec 6, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
generate.sh
125 lines (114 loc) · 6.54 KB
/
generate.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
git checkout -b A master
mkdir branch-A-work
echo "this is good" > branch-A-work/veteran-work-1.txt
echo "this is good" > branch-A-work/veteran-work-2.txt
echo "this is also good" > branch-A-work/veteran-work-2.txt
echo "we are awesome" > branch-A-work/veteran-work-3.txt
echo "what does this button do?" > branch-A-work/new-engineer-1.txt
echo "uh oh!" > branch-A-work/new-engineer-2.txt
echo "UNDO! CTRL+Z! Guess I better ask for help." > branch-A-work/new-e
ngineer-3.txt
git add branch-A-work/veteran-work-1.txt
git commit -m "veteran work 1"
git add branch-A-work/veteran-work-2.txt
git commit -m "veteran work 2"
git add branch-A-work/veteran-work-3.txt
git commit -m "veteran work 3"
git add branch-A-work/new-engineer-1.txt
git commit -m "new engineer 1"
git add branch-A-work/new-engineer-2.txt
git commit -m "new engineer 2"
git add branch-A-work/new-engineer-3.txt
git commit -m "new engineer 3"
BRANCH1="B"
BRANCH2="C"
git checkout -b ${BRANCH1} master
mkdir branch-${BRANCH1}-work
echo "print 'Hello World'" > branch-${BRANCH1}-work/hello-world.txt
echo "new feature" > branch-${BRANCH1}-work/new-feature.txt
git add branch-${BRANCH1}-work/hello-world.txt
git commit -m "hello world feature"
git add branch-${BRANCH1}-work/new-feature.txt
git commit -m "branch ${BRANCH1} new feature"
git checkout -b ${BRANCH2} master
mkdir branch-${BRANCH2}-work
echo "Nice job getting this far" > branch-${BRANCH2}-work/congrats.txt
git add branch-${BRANCH2}-work/congrats.txt
git commit -m "congrats"
BRANCH1="D"
BRANCH2="E"
git checkout -b ${BRANCH1} master
mkdir branch-${BRANCH1}-work
echo "print 'Hello World'" > branch-${BRANCH1}-work/hello-world.txt
echo "new feature" > branch-${BRANCH1}-work/new-feature.txt
git add branch-${BRANCH1}-work/hello-world.txt
git commit -m "hello world feature"
git add branch-${BRANCH1}-work/new-feature.txt
git commit -m "branch ${BRANCH1} new feature"
git checkout -b ${BRANCH2} master
mkdir branch-${BRANCH2}-work
echo "Nice job getting this far" > branch-${BRANCH2}-work/congrats.txt
git add branch-${BRANCH2}-work/congrats.txt
git commit -m "congrats"
git checkout -b F master
mkdir branch-F-work
echo "$(shuf -n 1 /usr/share/dict/american-english) $(shuf -n 1 /usr/share/dict/american-english)" | tee branch-F-work/passed-qa.txt
echo "$(shuf -n 1 /usr/share/dict/american-english) $(shuf -n 1 /usr/share/dict/american-english)" | tee branch-F-work/passed-qa-also.txt
echo "$(shuf -n 1 /usr/share/dict/american-english) $(shuf -n 1 /usr/share/dict/american-english)" | tee branch-F-work/should-not-be-released.txt
echo "$(shuf -n 1 /usr/share/dict/american-english) $(shuf -n 1 /usr/share/dict/american-english)" | tee branch-F-work/passed-qa-too.txt
git add branch-F-work/passed-qa.txt
git commit -m "This feature is good to go"
git add branch-F-work/passed-qa-also.txt
git commit -m "so is this one"
git add branch-F-work/should-not-be-released.txt
git commit -m "change text color"
git add branch-F-work/passed-qa-too.txt
git commit -m "everything's fine here"
git checkout -b G F~3
git checkout -b H master
mkdir branch-H-work
echo "$(shuf -n 1 /usr/share/dict/american-english) $(shuf -n 1 /usr/share/dict/american-english)" | tee -a branch-H-work/my-awesome-new-feature-that-i
-have-been-working-on-forever.txt
git add branch-H-work/my-awesome-new-feature-that-i-have-been-working-on-forever.txt
git commit -m "Start of the day"
echo "$(shuf -n 1 /usr/share/dict/american-english) $(shuf -n 1 /usr/share/dict/american-english)" | tee -a branch-H-work/my-awesome-new-feature-that-i
-have-been-working-on-forever.txt
git add branch-H-work/my-awesome-new-feature-that-i-have-been-working-on-forever.txt
git commit -m "Time for a coffee break"
echo "$(shuf -n 1 /usr/share/dict/american-english) $(shuf -n 1 /usr/share/dict/american-english)" | tee -a branch-H-work/my-awesome-new-feature-that-i
-have-been-working-on-forever.txt
git add branch-H-work/my-awesome-new-feature-that-i-have-been-working-on-forever.txt
git commit -m "time for second breakfast"
echo "$(shuf -n 1 /usr/share/dict/american-english) $(shuf -n 1 /usr/share/dict/american-english)" | tee -a branch-H-work/my-awesome-new-feature-that-i
-have-been-working-on-forever.txt
git add branch-H-work/my-awesome-new-feature-that-i-have-been-working-on-forever.txt
git commit -m "is it lunch time yet?"
echo "$(shuf -n 1 /usr/share/dict/american-english) $(shuf -n 1 /usr/share/dict/american-english)" | tee -a branch-H-work/my-awesome-new-feature-that-i-have-been-working-on-forever.txt
git add branch-H-work/my-awesome-new-feature-that-i-have-been-working-on-forever.txt
git commit -m "yay, lunch time"
echo "$(shuf -n 1 /usr/share/dict/american-english) $(shuf -n 1 /usr/share/dict/american-english)" | tee -a branch-H-work/my-awesome-new-feature-that-i-have-been-working-on-forever.txt
git add branch-H-work/my-awesome-new-feature-that-i-have-been-working-on-forever.txt
git commit -m "back from lunch"
echo "$(shuf -n 1 /usr/share/dict/american-english) $(shuf -n 1 /usr/share/dict/american-english)" | tee -a branch-H-work/my-awesome-new-feature-that-i-have-been-working-on-forever.txt
git add branch-H-work/my-awesome-new-feature-that-i-have-been-working-on-forever.txt
git commit -m "head down time"
echo "$(shuf -n 1 /usr/share/dict/american-english) $(shuf -n 1 /usr/share/dict/american-english)" | tee -a branch-H-work/my-awesome-new-feature-that-i-have-been-working-on-forever.txt
git add branch-H-work/my-awesome-new-feature-that-i-have-been-working-on-forever.txt
git commit -m "guess I can play one round of ping pong"
echo "$(shuf -n 1 /usr/share/dict/american-english) $(shuf -n 1 /usr/share/dict/american-english)" | tee -a branch-H-work/my-awesome-new-feature-that-i-have-been-working-on-forever.txt
git add branch-H-work/my-awesome-new-feature-that-i-have-been-working-on-forever.txt
git commit -m "gah. I need to get home"
echo "$(shuf -n 1 /usr/share/dict/american-english) $(shuf -n 1 /usr/share/dict/american-english)" | tee -a branch-H-work/my-awesome-new-feature-that-i-have-been-working-on-forever.txt
git add branch-H-work/my-awesome-new-feature-that-i-have-been-working-on-forever.txt
git commit -m "2am... finally finished"
git checkout -b I master
mkdir branch-I-work
echo "$(shuf -n 1 /usr/share/dict/american-english) $(shuf -n 1 /usr/share/dict/american-english)" | tee -a branch-I-work/h.txt
git add branch-I-work/h.txt
git commit -m "new feature 'I'"
git checkout -b J master
mkdir branch-J-work
echo "$(shuf -n 1 /usr/share/dict/american-english) $(shuf -n 1 /usr/share/dict/american-english)" | tee -a branch-J-work/j.txt
git add branch-J-work/j.txt
git commit -m "new feature 'J'"
git checkout -b K master