Skip to content

Instantly share code, notes, and snippets.

@doevelopper
Created February 18, 2019 17:03
Show Gist options
  • Save doevelopper/f9790c9c971ec3b1dad6e2a685f90dda to your computer and use it in GitHub Desktop.
Save doevelopper/f9790c9c971ec3b1dad6e2a685f90dda to your computer and use it in GitHub Desktop.

###Applying .gitignore to committed files

remove in all commits

$> git filter-branch -f --tree-filter 'rm -rvf src/main/resources/images/support/filename.run' HEAD

$> git rm --cached src/main/resources/images/support/filename.run

ADD src/main/resources/images/support/filename.run to .gitignore

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment