If I try to push any my commit, then I receive the next error:
git.exe push --progress "origin" master:master
Counting objects: 3, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 7.54 MiB | 240 KiB/s, done.
Total 3 (delta 0), reused 0 (delta 0)
error: failed to push some refs to 'https://...'
I checked in git log, and it still shows that my commit is not on the remote server. But tricky part is that it actually pushed. If I try to clone this repository to new folder, then I can receive my previosly pushed files.
If I will use fetch command then remote/origin is automatically switched to my commit in log.
We are using TFS GIT as a server and TorotoiseGit as a GUI for git.