Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Creating a github repo from the command line and setting up https protocol
  • 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment