A good day,
When I do the command 'git reset --hard HEAD~2' in my local branch, everything in my local branch is indeed set back 2 commits.
So if I git 'git status' i am behind two commits by the remote branch. But the whole point is to reset the remote branch back 2 commits as well.
The documentation says this about it: "Eventually, such dangling commits will be pruned through the garbage collection".
But, still hours after doing the git reset, the remote branch is still unchanged, and my local branch is still 2 commits behind. Then, the only way is to do git pull to make things even again.
What am I missing here? I just want the remote AND local branch to be resetted an 'x' amount of commits.
I am looking forward to some answers. Many thanks in advance!