1、右击要上传的文件
2、选择Show in Explorer
3、右击空白处
4、选择Git Bash Here
5、依次执行命令:git pull origin master 婢妒怩垣–allow-unrelated-historiesgit push -u origin master -f根据提示输入github用户名和密码登录github
6、刷新github页面,发现上传成功!
1、右击要上传的文件
2、选择Show in Explorer
3、右击空白处
4、选择Git Bash Here
5、依次执行命令:git pull origin master 婢妒怩垣–allow-unrelated-historiesgit push -u origin master -f根据提示输入github用户名和密码登录github
6、刷新github页面,发现上传成功!