Как удалить удаленный файл локально на git
$ git checkout git checkout -- myfile
$ git status
On branch master
Your branch is ahead of 'origin/master' by 1 commit.
(use "git push" to publish your local commits)
nothing added to commit but untracked files present (use "git add" to track)
$ git rm myfile
$ git status
On branch master
Your branch is ahead of 'origin/master' by 1 commit.
(use "git push" to publish your local commits)
Changes to be committed:
(use "git reset HEAD <file>..." to unstage)
deleted: myfile
Bright Mujor