Hi, I'm trying to git push to a remote repo and my cli wants me to git pull. Git pull will merge the remote repo code onto my local code and that's not what I want. I also do not want to "git push -force" because that will override other works. How do I git push without forcing or git pull? Thanks.

Apparently there are changes that you need in that branch, so my advice is to push it to a new branch.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.