iannucci@chromium.org | 3c66983 | 2014-04-11 18:37:08 +0000 | [diff] [blame] | 1 | #!/bin/bash |
iannucci@chromium.org | 2198002 | 2014-04-11 04:51:49 +0000 | [diff] [blame] | 2 | . demo_repo.sh |
| 3 | |
| 4 | add deleted_file |
| 5 | add unstaged_deleted_file |
| 6 | add modified_file |
| 7 | c "demo changes" |
| 8 | |
| 9 | add added_file_with_unstaged_changes |
| 10 | echo bob >> added_file_with_unstaged_changes |
| 11 | |
| 12 | add added_file |
| 13 | echo bob >> modified_file |
| 14 | silent git rm deleted_file |
| 15 | rm unstaged_deleted_file |
| 16 | touch unadded_file |
| 17 | |
| 18 | run git status --short |
| 19 | run git freeze |
| 20 | run git status --short |
| 21 | run git log -n 2 --stat |
| 22 | run git thaw |
| 23 | run git status --short |