OLD | NEW |
1 #!/bin/sh | 1 #!/bin/bash |
2 . demo_repo.sh | 2 . demo_repo.sh |
3 | 3 |
4 add deleted_file | 4 add deleted_file |
5 add unstaged_deleted_file | 5 add unstaged_deleted_file |
6 add modified_file | 6 add modified_file |
7 c "demo changes" | 7 c "demo changes" |
8 | 8 |
9 add added_file_with_unstaged_changes | 9 add added_file_with_unstaged_changes |
10 echo bob >> added_file_with_unstaged_changes | 10 echo bob >> added_file_with_unstaged_changes |
11 | 11 |
12 add added_file | 12 add added_file |
13 echo bob >> modified_file | 13 echo bob >> modified_file |
14 silent git rm deleted_file | 14 silent git rm deleted_file |
15 rm unstaged_deleted_file | 15 rm unstaged_deleted_file |
16 touch unadded_file | 16 touch unadded_file |
17 | 17 |
18 run git status --short | 18 run git status --short |
19 run git freeze | 19 run git freeze |
20 run git status --short | 20 run git status --short |
21 run git log -n 2 --stat | 21 run git log -n 2 --stat |
22 run git thaw | 22 run git thaw |
23 run git status --short | 23 run git status --short |
OLD | NEW |