- create a repo via the command line:
hub create
- it's possible to connect with github via a number of protocols, like ssh and https. In order to have https as the default:
git config --global hub.protocol https
- in order to push to a given repo once 2FA is activated via https, it's necessary to generate an access token and use that as the password instead of the login password for the user
- generate an access token
- access tokens can only be seen at the time of creation
Created
March 4, 2016 08:44
-
-
Save gzagatti/9d3b6faa6fe7d79948f4 to your computer and use it in GitHub Desktop.
Creating a github repo from the command line and setting up https protocol
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment