fatal: Not possible to fast-forward, aborting.

场景:

vscode拉去和提交的时候,出现报警,打开日志命令,提示fatal: Not possible to fast-forward, aborting.


解决:

嗯,就是那么弱智:git路径错了!---git创建在对应文件的上一级!

比如说我要提交wenjian中的node_model,但是我的git init建在了work里面,wenjian的同级,最终导致 fatal: Not possible to fast-forward, aborting.的报错

猜你喜欢

转载自blog.csdn.net/qq_50276105/article/details/127685072