Answers for "how delete file from 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
1

git remove file

git rm [-f | --force] [-n] [-r] [--cached] [--ignore-unmatch]
	  [--quiet] [--pathspec-from-file=<file> [--pathspec-file-nul]]
	  [--] [<pathspec>…]
Posted by: Guest on February-16-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language