Why 'git push'(without -f) overwrites the remote history?
问题 I had one remote repository where I made some local commits(~6 commits) in let's say repo A and pushed those commits to GitHub and then I made some changes that I didn't commit or pushed. Later I renamed that repo in GitHub and instead of update the references, I cloned to another directory, let's say local repo B, and I made more commits(~30 commits) and pushed them and I deleted the repo B. Then I noticed that the repo A has unpushed changes, I didn't pull the new commits just committed the