Automate GitHub Login

If you want to automate the GitHub login script so you don't forget before you run Terraform commands that need it, you can simply add it to the end of your ~/.bashrc file. If you plan on making any other modifications here or are not familiar with the .bashrc file, I recommend just running the script manually. If you've read this and still want to do it, it will run every time the shell is restarted or the system reboots. I'm not going to just provide a script to do this because screwing around with the ~/.bashrc file can lead to corrupting your terminal and I don't want to be blamed.



Complete and Continue