This is what happens when I tried replicating
user@machine MINGW64 /c (11.1.0)
$ git pull
Already up-to-date.
Git pull is a success and I made a change to my file.
user@machine MINGW64 /c (11.1.0)
$ git push
Everything up-to-date
Nothing is spotted.
user@machine MINGW64 /c (11.1.0)
$ git status
On branch 11.1.0
Your branch is up-to-date with 'origin/11.1.0'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: ReleaseNotes/Release_Notes_11.1.0.docx
no changes added to commit (use "git add" and/or "git commit -a")
When I do a git status it has identified a change
user@machine MINGW64 /c (11.1.0)
$ git add .
Added the file for a commit.
user@machine MINGW64 /c (11.1.0)
$ git push
Everything up-to-date
Again nothing is spotted
user@machine MINGW64 /c (11.1.0)
$ git status
On branch 11.1.0
Your branch is up-to-date with 'origin/11.1.0'.
Changes to be committed:
(use "git reset HEAD <file>..." to unstage)
modified: ReleaseNotes/Release_Notes_11.1.0.docx
Status has identified the change
user@machine MINGW64 /c (11.1.0)
$ git commit -m 'Release notes amended'
[11.1.0 28697fa] Release notes amended
1 file changed, 0 insertions(+), 0 deletions(-)
rewrite ReleaseNotes/Release_Notes_11.1.0.docx (62%)
Committed locally
user@machine MINGW64 /c (11.1.0)
$ git push
Counting objects: 4, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 50.57 KiB | 0 bytes/s, done.
Total 4 (delta 0), reused 0 (delta 0)
remote:
remote: Create pull request for 11.1.0:
remote: https://bitbucket.org/URL
remote:
To bitbucket.org:Project/repo.git
7db5eb6..28697fa 11.1.0 -> 11.1.0
Now the push is a success.
In your case, there must have been some locally committed changes when you applied a push.