when I try to push to master im getting error
https://github.my.corp/i64444/app.git ! [rejected]
HEAD -> refs/for/master (non-fast-forward) error: failed to push some refs to 'https://github.my.corp/i64444/app.git' hint: Updates were rejected because a pushed branch tip is behind its remote hint: counterpart. Check out this branch and 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.
I read the following post Cannot push to GitHub - keeps saying need merge and try to do the git push -f origin master which doesnt help , I got message that everyting is up to date , any idea?
I did also before git reset --hard origin master (fetch & rebase also)which doesnt help either...,any idea?
The output of the pull
* branch master -> FETCH_HEAD
Already up-to-date.
The output of the git status is:
HEAD detached from ea82585
Untracked files:
(use "git add <file>..." to include in what will be committed)
.idea/
nothing added to commit but untracked files present (use "git add" to track)
The number ea82585 is the number of the latest commit in the master...