Delete files from Git Repository

Use the following commands to remove files from Git Repository

$ git rm <fileName>
$ git commit -m "remove <fileName>"
$ git push origin <branchName>

Search