I have a local checkout of a repository of a fork on my computer (from github). So on github I created a fork, and checked that out.
Now I want the local checkout to be the same as the original github repository (the one I created the fork from). I added that original repo to my local repo (with the name 'orig') and did the following:
git pull orig master
However, git status
shows me
On branch master
Your branch is ahead of 'origin/master' by 1 commit.
(use "git push" to publish your local commits)
nothing to commit, working directory clean
Also git diff
or git diff origin/master
shows nothing.
Is there a way to make the local checkout equal to what is in the original master branch (without removing the local repo, the github fork, forking anew, checking out anew...)?
I do not care if there any uncommited changes or anything. I want the local checkout to be equal to the original repo...