Such a situation: Filled in the repository files on github. Then in the repository deleted one of the files. Now I want to upload the file with the same name (which was deleted) to the repository again.
I enter into the git console
Vit@Home MINGW64 ~ $ cd c:/xampp/htdocs/myproject Vit@Home MINGW64 /c/xampp/htdocs/myproject (master) $ git add 1.php fatal: pathspec '1.php' did not match any files Vit@Home MINGW64 /c/xampp/htdocs/myproject (master) $ git status On branch master Your branch is up-to-date with 'origin/master'. nothing to commit, working tree clean Confused. What to do to upload this file to github?