README.md 288 B

You have accidentaly put first.txt in the staging area

While you actually want to only commit second.txt.

You need to, from the current state, only commit second.txt:

  • remove the file first.txt (Use git status to get the appropriate command)
  • add second.txt
  • commit