Kevin van Zonneveld

Git Migration - Remove Passwords From History

1 minute read

When migrating projects over to GitHub, I found there were still some
passwords inside my SVN repositories. Obviously it's not good practice to
store your passwords in a code repository - let alone at a remote location, so
I wanted to replace all passwords. Not only in the current version, but in all
commits that have been made over the past 3 years. Luckily with Git - you can.