// Aula 3.3 - Removendo Commits # git checkout - # git checkout - $ git reset --hard master $ git log --oneline --graph --decorate --all $ cat .git/refs/heads/berries $ cat .git/refs/heads/master $ git reset --hard d2df5fc $ git log --oneline --graph --decorate --all $ echo "melancia" >> shoppingList.txt $ git commit -am "Adicione uma melancia" $ git log --oneline --graph --decorate --all $ git branch melons $ git log --oneline --graph --decorate --all $ git reset --hard HEAD^ $ git log --oneline --graph --decorate --all $ cat shoppingList.txt $ git checkout master $ cat shoppingList.txt $ git checkout melons $ cat shoppingList.txt