Table of Contents Fundamentals Initialize Repo init Check repo for unstaged/untracked files status Stage/track filesadd Commit repo- take snapshot of current statecommit Display difference between current state and commitdiff Display commit historylog
Handling Errors Express.js makes it a breeze to handle errors in your routes. Express lets you centralizes your error-handling through middleware. Let's look at patterns for how to get the most out of your error-handling. First, our error-handling middleware looks like this: