# File lib/branch.rb, line 386
        def reset(opts)
            if same_sha?(@local_branch, @remote_ref) then
                log(:INFO, "Nothing to reset")
                return
            end

            rep = GitMaintain::checkLog(opts, @local_branch, @remote_ref, "reset")
            if rep == "y" then
                @repo.runGit("reset --hard #{@remote_ref}")
            else
                log(:INFO, "Skipping reset")
                return
            end
        end