使用Http推入github项目
答
您可以找到“Which remote URL should I use?”
HTTPS URL的所有细节会为您的凭据您的GitHub帐户的用户名和密码使用。
请注意,如果您启用了two-factor authentication,则必须创建一个personal access token来代替您的GitHub密码。
我在“Configure Git clients, like GitHub for Windows, to not ask for authentication”处解释更多
当然你可以使用https。你面临什么问题?确保您在推送前有权对回购进行写入访问。 – fracz 2014-09-27 13:05:41