This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # Adapted from: https://gist.github.com/grenade/6318301 | |
| read -r -p "Do you want to configure the git global config to use your new gpg key? [y/N] " gitChoice | |
| read -r -p "Are you transitioning to a new key? (i.e.: you have an old key and you want the new key to replace it.) [y/N] " transition | |
| old_key_name="firstName lastName (comment) <email>" | |
| new_key_name="firstNaam lastNaam (comment) <email>" |