I have forked a repository in Github. I committed 7 times in my remote repository which were not pulled in master branch. Now the master branch is, say 10 commits ahead of my branch. So my branch status is like This branch is 7 commits ahead, 10 commits behind xyz:master. What I want is to discard my 7 commits from fork and sync it with master. How to do that? I don't want to delete my fork and create new.
Asked
Active
Viewed 143 times