Git For the Modern Data Scientist: 9 Git Concepts You Can’t Ignore | by Bex T. | May, 2023
3. Staging areaBy talking about commits, we have got ahead of ourselves. Before closing the cap of the commit capsule, you have to make sure the contents within are right.This involves telling Git exactly which changes from which files you want to commit. Sometimes, new changes might come from several files and you may only want to commit some of them and leave the rest for future commits.This is where we lift the curtains and reveal the staging area (pun intended):Image by me. The staging area is changed after the…