Git如何回到拉取之前的代码

254 阅读1分钟

1、执行git reflog命令查看你的历史变更记录;

2、git reset --hard 2aee3f(拉代码之前的提交记录)

Git基础命令总结请参考:blog.csdn.net/MrLiar17/ar…