# filter / gitattributes

1 messages from 2014-06-24 to 2014-06-24. Participants: shawn wilson.
Thread: https://gitlist.dev/t/36993

## shawn wilson, 2014-06-24 19:02

Subject: filter / gitattributes
Message-ID: <CAH_OBiesJe2shQ3KWQa54-uoCOeWVQXe5voihJJH5_TiTqF4zg@mail.gmail.com>
URL: https://gitlist.dev/e/CAH_OBiesJe2shQ3KWQa54-uoCOeWVQXe5voihJJH5_TiTqF4zg%40mail.gmail.com

```
So, I've got a gitconfig template for new people (also what link to as
my ~/.gitconfig) so I have a smudge/clean:

[filter "gitconfig-rmuser"]
  clean = sed -e \"s/^\\( *email =\\).*/\\1 <email address>/\" -e
\"s/^\\( *name =\\).*/\\1 <real name>/\" -e \"s/^\\( *signingkey
=\\).*/\\1 <gpg key>/\"
  smudge = egrep \"^ *(email|name|signingkey) = \"

and .gitattributes:
* filter=ident-line
gitconfig filter=gitconfig-rmuser

However, it didn't filter/change my name/email/signingkey. Any ideas?

```
