On my production server, I just have master
always checked out.
I do git pull
, which also updates develop
branch.
When I commit to master
on the production server, and try to git push
, it complains for develop
that "non-fast-forward updates were rejected".
How can I deal with master
without ever getting problems related to other branches? I don't even want to know about other branches for this local repo.