remove file from git - chapter 5

if you have, upload a file, that you want to remove from the git or repository

  1. Here, we can see, that we have added hii.md file and two untracked files

First, add it and make commit,

Now, if you want to remove it from the remote directory

git rm --cached hii.md

Now check the status, git status

And Finally make the commit