执行以下代码:
$git add . //可以用点也可以用-A$git commit -m "更新"$git remote add origin https://gitee.com/xxxx //如果有CONIFG设置则不运行,运行也会报错
$git push origin master(普通)$git push -f origin master(强制)
这样就将变动的文件更新到代码仓库了。
引用项目:composerrequirephpmailer/phpmailer代码片段示例:useP......