关于idea提交push不上代码(历史仓库残留问题)慎用

 命令行输入:

```java
git pull origin master --allow-unrelated-histories
git push -u origin master -f

```

posted @ 2023-07-24 11:14  奕生呀  阅读(145)  评论(0)    收藏  举报