摘要:
假设你有3个commit如下: 其中最后一次提交commit 3是错误的,那么可以执行: 你会发现,HEAD is now at commit 2。 然后再使用git push --force将本次变更强行推送至服务器。这样在服务器上的最后一次错误提交也彻底消失了。 值得注意的是,这类操作比较比较危 阅读全文
摘要:
There is no tracking information for the current branch. Please specify which branch you want to rebase against. See git-pull<1> for details. git pull 阅读全文