threads / discuss / 36993

filter / gitattributes

Subject: filter / gitattributes

## tl;dr

One message between Jun 24, 2014 and Jun 24, 2014.

replies: 0people: 1as markdown or json

shawn wilson· Jun 24, 2014, 19:02 UTC · lore

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?

← back to recent threads