1. add something in "calculator.py"

  2. git add calculator.py

  3. git status

Want to cancel git add

git add <-> git reset

git add: add modified file to staging area

git reset: remove added file from staging area

  1. git reset calculator.py

  1. git status

  1. remove codes in calculator.py

  2. git status