Answers for "delete file on git"

1

how to delete file from git command

git rm --cached file1.txt
git commit -m "remove file1.txt"
Posted by: Guest on August-17-2020
0

delete file on git

$ git rm <file>

$ git commit -m "Deleted the file from the git repository"

$ git push
Posted by: Guest on February-05-2022

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language