Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

remove file from last commit git

git rm —-cached <file-to-remove>
git commit —-amend
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #file #commit #git
ADD COMMENT
Topic
Name
8+4 =