Skip to content

apeyroux/clean-git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clean-git

Play with git filter and identity. sample with https://github.com/apeyroux/emacs.nix

$HOME/.gitconfig

[filter "identity"]
	clean = clean-git -c -n Px -f Alexandre -m alex@xxxx.io -o MyORG
	smudge = clean-git -s -n Px -f Alexandre -m alex@xxxx.io -o MyORG
	required = true

.gitattributes in ours projects :

emacs.el filter=identity

usage

Missing: (-n|--name NAME) (-f|--firstname FIRSTNAME) (-o|--org ORG)
(-m|--mail MAIL)

Usage: clean-git (-n|--name NAME) (-f|--firstname FIRSTNAME) (-o|--org ORG)
                 (-m|--mail MAIL) [-c|--clean] [-s|--smudge]
  git clean identity

About

Example of using a git filter to hide its identity in configuration files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published