Finding and Fixing a Bug — Part 2: Inspect and Review the Fix

Finding and Fixing a Bug — Part 2: Inspect and Review the Fix

bat -H 42 src/db.py && git diff

After locating the bug, use bat with line highlighting to inspect the exact file and line number, then review your fix with git diff rendered through delta for a beautiful side-by-side diff with syntax highlighting. This combination makes code review and verification fast and readable.

#git #workflow #bat #delta #rg

Tải xuống

⬇ GIF (256,3 KB) ⬇ MP4 (Đang chuyển đổi...)

Nhúng

[![Finding and Fixing a Bug — Part 2: Inspect and Review the Fix](https://media.agentgif.com/preseed/workflow-find-fix-bug-2/demo.gif)](https://agentgif.com/@agentgif/workflow-find-fix-bug-2)
<a href="https://agentgif.com/@agentgif/workflow-find-fix-bug-2"><img src="https://media.agentgif.com/preseed/workflow-find-fix-bug-2/demo.gif" alt="Finding and Fixing a Bug — Part 2: Inspect and Review the Fix" width="1200"></a>
<iframe src="https://agentgif.com/embed/MRAFuyxy/" width="1200" height="660" frameborder="0" allowfullscreen></iframe>
<div data-agentgif="MRAFuyxy"></div><script src="https://agentgif.com/widget.js" async></script>
bởi @agentgif · · 78 lượt xem