Tsallaka zuwa abun ciki
Justice Tech School

A Daily Solo Workflow

Pull, branch, commit often, merge, push. Small commits are easier to understand and undo.

Example
echo one > a.txt && git add a.txt && git commit -qm 'first'
git switch -q -c feat/readme
echo doc > README.md && git add README.md && git commit -qm 'Add README'
git switch -q main && git merge -q --no-edit feat/readme
git branch -d feat/readme
git log --format=%s -n 1

Result

Deleted branch feat/readme (was 3d6b6d2).
Add README

Exercise

Delete the finished branch.

git branch  feat

Quiz Test

Why small commits?

These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.