All Articles

Github 2FA: Personal Access Tokens

First, make a personal access token in Github by going to Github > Settings > Developer Settings > Personal access tokens > Generate New Token.

Second, in the Generate New Token screen, select all the checkboxes. You want complete access for your Github project or whatever access you need.

Third, copy and paste your personal token as a password in your authentication for your Github account in your terminal.

For example, when it says login username, enter your username, then for the password instead of your password, enter the personal access token.

Finally, commit away! Now, you should be all setup with your HTTP personal access token to make commits moving forward with your project!