readme.txt 292 B

123456789
  1. You just realized that you have commited a backup file: main.cpp~.
  2. Backup files should not be commited, let's correct that mistake.
  3. - Delete the file with `rm`
  4. - Add all changes, including deleted files with `git add -A`
  5. - Write a gitignore that will correct your mistake
  6. - Add it
  7. - Commit