I have a develop
branch and a feature
branch. I did some commits to develop branch after I created the feature branch from the develop branch. And also did some commits to feature branch. So the current situation is like this
A--B--C-----F--G (develop)
\
D--E (feature)
Then did a interactive rebase to feature branch and squash commits to single commit.
Then I tried to push the feature branch with git push -f
and git push origin --force
but it ended up with getting a error remote: Repository not found.
what I want to do here is merge the changes of feature branch to develop without effecting changes done in develop branch.
Have I done any wrong thing here or are there any better way to achieve my goal?