Sidhant Sharma <tigerkid001@xxxxxxxxx> wrote: > $ ggit push --force > > Pushing changes to $REMOTE/$BRANCH > [WARNING] You are about to purge commits from the $REMOTE/$BRANCH branch and > overwrite it's history to match yours. > For instance, assume the following history exists where 'origin' is > a configured remote and the current branch is master: > > o---o---o---A---B origin/master > \ > X---Y---Z your master > > After force push: > > o---o---o---X---Y---Z origin/master and your master It should be: o---o---X---Y---Z origin/master and your master (The last 'o' commit should have been overwritten by the force push) Thanks, Rémi -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html