fixed permissions and new notes
This commit is contained in:
parent
8699e9c9c7
commit
a6494701b1
3 changed files with 5 additions and 0 deletions
5
note/git_purge_file.txt
Normal file
5
note/git_purge_file.txt
Normal file
|
@ -0,0 +1,5 @@
|
|||
sometimes you need to get rid of a file from all past commits in git. to do that do the following:
|
||||
git filter-branch -f --index-filter 'git rm --cached --ignore-unmatch *.PATTERN'
|
||||
|
||||
then force an update to the remote by
|
||||
git push --force -u origin master
|
Loading…
Add table
Add a link
Reference in a new issue