If existing file got deleted in repo how to restore it

 git update-index --skip-worktree fps/config/fps-config.json git update-index --skip-worktree buildsupport
git reset HEAD^ -- fps/config/fps-config.json buildsupport
git commit --amend --no-edit
git push origin <branch-name> --force

Comments