I've git cloned from remote branch to local
and made changes on local ,then try to push back to remote.
When git pull origin remoteBranch
, I get Already up to date.
,
when git push origin remoteBranch
, I get below error:
To xxxxxx.git ! [remote rejected] branchA -> branchB (pre-receive hook declined) error: failed to push some refs to 'xxxxxxx'
How can I solve this?
Thank you.