Common options when trying to reset your repository.

  • git remote prune origin : Remove merged branches
  • git reset --hard : Reset your branch changes back to the remote repository
  • git clean -fd : Remove all local changes that are unstage including untracked files and directories.