Jak zaktualizować gałąź tematu ze zmianami na stronie głównej?

Zaczynam pracę na gałęzi tematycznej

    •-•-• < topic
   /
•-•       < master

Naciskam gałąź tematu

$ git push origin topic

Ktoś inny naciska na zmiany

    •-•-• < origin/topic
   /
•-•-•—•   < origin/master
Jak zaktualizować mojego lokalnego mistrza i ponownie ustawić mój temat?

Historia powinna wyglądać następująco

        •-•-• < topic
       /
•-•-•—•       < master
Co próbuję
; update master
$ git checkout master
$ git fetch origin
$ git merge --ff-only origin/master

; rebase topic
$ git checkout topic
$ git rebase master
Problem

Wszystkie moje zobowiązania natopic są postrzegane jako niezatwierdzone. Więc kiedy próbujęgit push origin topic, Dostaję

 ! [rejected]        topic -> topic (non-fast-forward)
error: failed to push some refs to '/path/to/repo.git'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Merge the remote changes (e.g. 'git pull')
hint: before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
Rozwiązanie?

Proszę zauważyć, że taknie chcę połączyć mojetopic oddział zmaster. Chciałbym po prostu zaktualizować moje lokalne repo bez konieczności niepotrzebnego łączenia oddziałów.

questionAnswers(3)

yourAnswerToTheQuestion