$ git push origin 브랜치명
To https://github.com/xxxxxxx/xxxxxxx.git
! [rejected] 브랜치명 -> 브랜치명 (non-fast-forward)
error: failed to push some refs to 'https://github.com/xxxxxxx/xxxxxxx.git'
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.
다음과 같은 에러가 떠서 pull을 하면 해결이 된다고 하여 pull해도 해결이 되지 않았다.
git pull origin 브랜치명 --rebase
=>
git push origin 브랜치명
하면 해결이 된다고 하여 진행을 하였지만 동일하게 되지 않아
다음과 같은 방식으로 해결하였습니다.
git pull origin 브랜치명 --allow-unrelated-histories