forked from org-lduran2/git-clean-each-ipynb
forked from lduran2/cis4526-machine_learning_foundations
configures the filters for cleaning Encapsulated Postscript files.
Add this module to your repo from its root directory by using
git submodule add https://github.com/org-lduran2/git-clean-each-eps filters/clean-each-eps
This command will download git-clean-each-eps
to
filters/clean-each-eps
, and update .gitmodules
to associate the
submodule.
Installing requires use of the git
command within a bash
shell.
Allowing access to the git
command, requires an extra step in
Windows operating systems. Namely, it requires adding %git%/bin
to
the %PATH%
variable where %git%
represents the directory of the Git
installation. This depends on the location of Git and the operating
system, but may appear as follows
PATH=C:\git\bin;%PATH%
where the assumed location of the Git installation is C:\git
.
Then install it in the repo by using
bash filters/clean-each-eps/git-setup-filters
Note: This was changed from git-
config
-filters
.
This script updates
.gitattributes
to associate
*.eps
files with the eponymous eps
filter.
It also associates
the clean
eps
filter
with the filter program main
in the root
directory of this module.
To configure the filter without changing
.gitattributes
, use
bash filters/clean-each-eps/git-config-filters
It is not necessary to run this configuration script immediately after a successful installation with no changes to the configuration.