There is a repo on github named A. I cloned this repo to my local from github. The original repo A has a branch named 'a', which is at a previous version from A. There was a commit from the owner of the repo which deleted the history and replaced all the files on the repo. On github if you comapre the two, it says, A and a are entirely different commit histories
My problem is I want to push a commit on a which is in sync kind of was like a back up before the owner fast forwarded the master branch. But if I git pull before commit(which is a good practise) I am sure to run into problems since it's not at all into sync.
The best solution would be to stop tracking what master does and replace it with the a branch which is not possible as to what I know. What should I do to delete the fast-forward commit and make it sync back to 'a' branch.
P.S. The owner of the repo gets ![rejected] master -> master (non-fast-forward)
it he tries to do a git pull. Says "the tip of his currrent branch is behind its remote counterpart"
If any of the part is unclear please feel free to ask, I am running into this problem since continuous 2days! Thanks.