code: public void hardCheckout(String branch, Boolean hard) throws Exception {
          fetch(); // in case the branch is not known locally
          if (hard)
              hardReset();
          checkout(branch);
          pull(branch);  // pull before delete or next pull may add non-path items back
      }
docs: Performs a HARD reset and FORCED checkout.
  Only to be used on server (not Designer).
  FIXME: path is ignored