加入我们要把/blogs文件夹上传至GitHub
(1)git add blogs
(2)git commit -m "备注"
(3)git remote add origin github地址
(4)git push origin master
如果遇到 error: failed to push some refs to ‘https://github.com/username/python.git‘
则执行如下命令:git pull --rebase origin master
原文地址:https://www.cnblogs.com/jums/p/11768755.html
时间: 2024-10-06 15:38:48