WeCodeAcademy

Challenge: A Full Workflow

Put it all together, the way real projects work: create a repo, commit, branch for a feature, merge it back, and push.

Examplebash
Open in editor »
/ $

Now try it yourself in the terminal below: make a branch called fix, change readme.txt, commit, and merge it into main.

Quick check

After `git merge add-footer`, what does `git branch -d add-footer` do?

Your turn: write the code

Commit on main, create add-footer, commit a footer file there, merge it into main and delete the branch. Finish with git branch, which should list only main.

Finish the quick check (and any code exercise) to complete this lesson, or mark it done yourself.

Tip: use the left and right arrow keys to move between lessons.