You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
depot_tools/man/src/git-freeze.demo.1.sh

24 lines
424 B
Bash

#!/bin/bash
. demo_repo.sh
add deleted_file
add unstaged_deleted_file
add modified_file
c "demo changes"
add added_file_with_unstaged_changes
echo bob >> added_file_with_unstaged_changes
add added_file
echo bob >> modified_file
silent git rm deleted_file
rm unstaged_deleted_file
touch unadded_file
run git status --short
run git freeze
run git status --short
run git log -n 2 --stat
run git thaw
run git status --short