Gitlet / testing / samples / test02-basic-checkout.in
test02-basic-checkout.in
Raw
# A simple test of adding, committing, modifying, and checking out.
> init
<<<
+ wug.txt wug.txt
> add wug.txt
<<<
> commit "added wug"
<<<
+ wug.txt notwug.txt
# Must change
> checkout -- wug.txt
<<<
= wug.txt wug.txt