Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

remove file history from git

git filter-branch --index-filter "git rm -rf --cached --ignore-unmatch path_to_file" HEAD
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #file #history #git
ADD COMMENT
Topic
Name
1+5 =