Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何从我的拉取请求中删除所有先前的提交?
我已经尝试了分支和樱桃挑选以及重置和拉动的无尽组合,但似乎没有任何工作......
好吧,您最近的拉取请求只会对该请求进行更改。您只想删除其他提交吗?
你可以做rm .git
rm .git
然后git init
git init
然后git push到一个新的回购。
git push