Build a Commit with Plumbing Only
Add a recipe to a repository without git add or git commit: write the blobs, stage them, write the tree, make the commit, move the branch and tag it with Git's plumbing commands, then bring the files on disk in line. A local self-check verifies the objects and the history and writes your submission for instant, rubric-based feedback.
35 min
Est. time
3
Outcomes
4
Rubric criteria
60%
Pass score
What you'll learn
Skills you'll have real reps in after shipping this.
The scenario
Bean There wants a scone recipe on its website: a new file in the recipes folder, and a new line on the menu.
This time you build the commit the way Git does inside: every blob, the trees, the commit object and the branch move by hand, with the plumbing commands git add and git commit run for you.
Your role
You are the developer proving you understand Git's object model. Your deliverable is a commit made only with plumbing commands, with exact contents and the kit's commit as its parent, main moved to it with git update-ref and a reflog message, a lightweight tag on it, a matching working tree, and notes explaining each step.
Start the task to unlock the full brief
You'll get the step-by-step requirements, setup commands, the 4-criterion grading rubric, tips, and the ability to submit your solution for instant AI grading.
Free to start · submit when you're ready
Learning resources
Learn Git's object model by building a commit by hand
The fastest way to understand Git is to make a commit without git add or git commit. This kit gives you a small repository and two files to add. You write the blobs with git hash-object, stage them with git update-index, write the tree, create the commit with git commit-tree and move the branch with git update-ref, checking the IDs as you go. A local self-check verifies every object and the reflog and writes your submission only when it genuinely passes. It is the Level 6 project in Preporato's Git course.