diff --git a/levels/log/list b/levels/log/list new file mode 100644 index 0000000..bcc8700 --- /dev/null +++ b/levels/log/list @@ -0,0 +1,27 @@ +title = List Log History + +[description] + +List the commits made in that repository in reverse chronological order; that is, the most recent commits show up first. + +[setup] + +rm -rf .git + +git init + +for i in 1 2 3 4 +do + echo "M$i" > M$i.txt + git add M$i.txt + git commit -m "M$i" +done + +[win] + +#List the log +#test "$(git log | wc -l )" -ge 1 + +[congrats] + +Well done! It is good to be able to view the repo's history and see what has been commited by you and others. diff --git a/levels/log/sequence b/levels/log/sequence new file mode 100644 index 0000000..b92b8b7 --- /dev/null +++ b/levels/log/sequence @@ -0,0 +1 @@ +list diff --git a/levels/sequence b/levels/sequence index cefcd7a..966fdc1 100644 --- a/levels/sequence +++ b/levels/sequence @@ -3,6 +3,7 @@ files branches merge index +log remotes changing-the-past shit-happens