现在有两个branch
*master
temp
master的代码被我搞坏了 git merge temp
也弄不回来代码
我想把master的代码完全替换成temp的
请问这个应该如何搞?
现在有两个branch
*master
temp
master的代码被我搞坏了 git merge temp
也弄不回来代码
我想把master的代码完全替换成temp的
请问这个应该如何搞?
在temp branch上git branch -D master
git checkout -b master
git branch -d temp