Pozwoliłem, aby mistrz i pochodzenie/mistrz utknęły na uboczu, i nie jestem już zainteresowany zmianami w tym oddziale.Wymuś ode mnie lokalnego mistrza/mistrza
I przestrzegać tych instrukcji, aby mój lokalny mistrz wskazując we właściwym miejscu Make the current git branch a master branch
git checkout better_branch
git merge --strategy=ours master # keep the content of this branch, but record a merge
git checkout master
git merge better_branch # fast-forward master up to the merge
który pracował w porządku z wyjątkiem stanu git daje
C:\data\localprojects\Beko2011Azure [master]> git status
# On branch master
# Your branch and 'origin/master' have diverged,
# and have 395 and 2 different commits each, respectively.
#
nothing to commit, working directory clean
tak jak mam teraz przekonać origin/master (github), aby odzwierciedlić mojego mistrza. Wszystko, co zostało osierocone na początku/miejscu może być bezpiecznie porzucone.
'git push -f origin master: master'? – 1615903