diff --git a/levels/branches/branch-remove b/levels/branches/branch-remove index 3b576e0..386dcf5 100644 --- a/levels/branches/branch-remove +++ b/levels/branches/branch-remove @@ -1,47 +1,47 @@ -title = Deleting branches +title = Deletando ramificações (branches) cards = checkout commit-auto reset-hard branch-delete [description] -Life is full of dangers, right? Even when walking to school, it seems like there's a lot of risks! +A vida é cheia de perigos, certo? Mesmo caminhando para a escola, parece que há muitos riscos! -This Monday is especially bad. You made it to school, but there's some timelines you definitely don't want to keep around. +Esta segunda-feira é especialmente ruim. Você chegou à escola, mas há algumas 'linhas do tempo' que você definitivamente não quer ter por perto. [setup] -echo You leave your house and start walking to school. > you +echo Você deixa sua casa e começa a caminhar para a escola. > voce git add . -git commit -m "Good morning!" +git commit -m "Bom dia!" -echo You walk on the right side of the street. >> you -git commit -am "Right side" +echo Você caminha pelo lado direito da rua. >> voce +git commit -am "Lado direito." -echo You jump over an manhole in the walkway, and arrive at school on time. >> you -git commit -am "Jump" +echo Você pula um bueiro na passarela e chega na escola na hora. >> voce +git commit -am "Pula." -git checkout HEAD^ -b friend -echo Suddenly, you fall down, splash into stinking water, and are eaten by an alligator. >> you -git commit -am "A new friend" +git checkout HEAD^ -b amigo +echo De repente, você cai, cai na água fedorenta e é comido por um crocodilo. >> voce +git commit -am "Um novo amigo." -git checkout HEAD~2 -b music -echo You walk on the left side of the street. >> you -git commit -am "Left side" +git checkout HEAD~2 -b musica +echo Você caminha pelo lado esquerdo da rua. >> voce +git commit -am "Lado esquerdo." -echo Because you\'re kind of late, you start running. Someone throws a piano out of their windows, and it smashes you. >> you -git commit -am "Sounds nice" +echo Você corre porque está meio atrasado, você começa a correr. Alguém joga um piano pela janela e ele te esmaga. >> voce +git commit -am "Sons legais." -git checkout HEAD^ -b ice-cream -echo You\'re not in a hurry, and walk slowly. You even get some ice cream on your way. You arrive at school too late, your teacher is angry, and you are expelled. >> you -git commit -am "Yum" +git checkout HEAD^ -b sorvete +echo Você não está com pressa e anda devagar. Você ainda ganha um sorvete no caminho. Você chega tarde demais na escola, seu professor está com raiva e você é expulso. >> voce +git commit -am "Yum! Que delícia." -git branch -M main leap -git checkout leap^^ +git branch -M main salto +git checkout salto^^ [win] -# Find the bad branches and delete them. Keep only the best one. -test "$(git show-ref --heads | cut -f2 -d' ')" = "$(echo refs/heads/leap)" +# Procure pelas branches ruins e delete-as. Mantenha somente a melhor. +test "$(git show-ref --heads | cut -f2 -d' ')" = "$(echo refs/heads/salto)" [congrats] -On second thought, maybe you even prefer the ice cream timeline to the main one? :) +Pensando bem, talvez você até prefira a linha do tempo do sorvete para principal? :)