How can i push my Master branch to my old branch?
i am trying to use:
git push origin master:my_branch but i keep getting an error of
! [rejected] master -> my_branch (non-fast-forward)
error: failed to push some refs to
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Integrate the remote changes (e.g.
hint: 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
i am still new in using Git. i am trying to use rebase, but i am having a hard time on understanding it. can anyone help me. any help would be really appreciated.