Before running this script, you'll need:
The old email address that appears in the author/committer fields that you want to change The correct name and email address that you would like such commits to be attributed to
| #!/bin/bash | |
| echo "This will install the GitHub CLI (gh) onto your system" | |
| echo "When this is done, you'll have a new 'gh' command line tool..." | |
| echo "in your /usr/local/bin directory. On most Mac and Linux systems..." | |
| echo "That directory will be in your 'PATH' environment variable..." | |
| echo "If it isn't, please add it. You can temporarily do so by running this:" | |
| echo "\n export PATH=\"/usr/local/bin:\$PATH\"" | |
| RELEASE=$1 |