
Developer Tips
How to login to Github from the terminal
Hello,
Today we have a quick tutorial for developers who may be having problems logging into Github from the terminal. This guide assumes you have some experience as a web developer and know what Github is. Let's jump straight in.
1. First you need to set your username with the following command. Replace YOUR_USERNAME with your actual Github username.
git config --global user.name "YOUR_USERNAME"
2. Next type the following commpand and you should get back the username you just entered. If your username is correct please continue to the next step.
git config --global user.name
3. The next command will set your email address. Please replace your_email_address@example.com in the code below with your actual github login email address.
git config --global user.email "your_email_address@example.com"
4. To verify your email saved correctly please run the following line of code
git config --global user.email
To get a list of all the information currently saved run
git config --global --list
The next time you push code to Github it will trigger a pop up that prompts you to enter your password. This popup will
not show if you have previously logged into Github on your computer.
If you have previously logged into a Github account you need to delete the login entry in credential manager for Windows or keychain for MacOS to retrigger the login banner
Need something built like this?
Book a free consultationFrom the journal
More insights
- An MP3Cut Alternative for Splitting One File into Many TracksMP3Cut is built for trimming one clip, such as a ringtone. To cut a whole recording into many tracks at once, with titles, album tags and cover art, a track splitter does it in one pass.
- An Online Alternative to mp3splt: Split Audio Without Installingmp3splt is a strong free tool if you can install it, especially for batches and offline work. When you can't, the online splitter covers its time, silence, equal-part and CUE modes, with tags, cover art and per-track downloads.
- Audacity Label Import vs a Faster Way to Split TracksAudacity is a free, offline editor that splits by labels, but a tracklist has to become tab-separated seconds first. For a straight split, the online splitter reads MM:SS tracklists as pasted and tags every track with cover art in one pass.