git rm filename
If you need to remove a file from git but not from local repository. Use
git rm --cached filename
Do not forget to add the file to .gitignore if that file would be created again.
git rm filename
If you need to remove a file from git but not from local repository. Use
git rm --cached filename
Do not forget to add the file to .gitignore if that file would be created again.
For further actions, you may consider blocking this person and/or reporting abuse
Mario Ruci -
Idris Gadi -
Alexandre Calaça -
Abiola Oludotun -
Top comments (0)