Git push ionic master problem

I ma doing same thing as last couple of months. Something is changed and I can not push to ionic pro anymore.

 ! [rejected]        master -> master (fetch first)
error: failed to push some refs to ''
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.

you should use git pull firstly

I did!
it didn’t work.
I even use git push -u origin master after pull.
no use
I use -f, still not working.

So If I have sometimes this problem too, I make a new clone and then copy my changed files back. Then everything works. It sucks, I know, but it is fastest solution for me.

I did this, and it worked:

git push -f ionic master