Script Valley
Git and GitHub Complete Course: From Beginner to Advanced
Intermediate Git: Stashing, Tagging, Reverting, and Resetting/Assessment

Practice & Assessment

Test your understanding of Intermediate Git: Stashing, Tagging, Reverting, and Resetting

Multiple Choice Questions

5
1

Which git reset mode keeps all changes staged after moving the branch pointer back?

2

What is the key difference between git revert and git reset?

3

What does 'git stash pop' do?

4

What is the recommended tag type for marking software releases and why?

5

What is git cherry-pick used for?

Mini Project

1

Release Management with Tags and Hotfix Branches

Create a project simulating a release cycle. Tag v1.0.0 after initial features are complete. Create a development branch and add three more features. Discover a critical bug in v1.0.0: create a hotfix branch from the v1.0.0 tag, fix the bug, tag v1.0.1, and cherry-pick the fix into the development branch. Use annotated tags for all releases. Document the release process in a RELEASES.md file. Use git stash at least once during the workflow to simulate context switching.

Hard