Рет қаралды 42,792
Is there a specific file in your GitHub, GitLab or local Git repository that you want to delete? The file delete command in git is simply git rm, but there are peculiarities about the use of this Git file delete command you need to be aware of.
In this single Git file delete example, we'll show you how to delete a file from the Git cache, from the Git cache and the local filesystem, and even how to delete a single file from GitHub and then pull the corresponding changes down locally.