You just committed the checkout page with git add ., and it swept up .env, which holds the payments key, and all of node_modules/. You haven't shared the commit yet, so it can still disappear for good.
Use only what this chapter and the last one taught. You have six minutes.
Objectives
- Get
.envout of the commit, and keep it on disk. - Get
node_modules/out of the commit, and keep it on disk. - Keep both out for good.
- Leave no commit on
mainthat holds.env.