I have develop & master branches, my develop branch is messy now and i would like to reset it and make it as a copy of my master then push it to the server.

I'm not sure if merging the master into develop will make both of them identical. after trying 

```
git branch -f develop master
git checkout develop

```

I get the following message

> 
> Switched to branch 'develop' Your branch is behind 'origin/develop' by
>  34 commits, and can be fast-forwarded. (use "git pull" to update
>  your local branch)
> 
> 
> 

I want to update the remote too.. how do I do this? how do I get around all this