$ git clone -n https://gitee.com/src-opencloudos-rpms/watchdog.git /var/lib/mock/dist-oc8-build-38568-12544/root/chroot_tmpdir/scmroot/watchdog Cloning into '/var/lib/mock/dist-oc8-build-38568-12544/root/chroot_tmpdir/scmroot/watchdog'... $ git reset --hard origin/oc8 HEAD is now at 97ec0fa import watchdog-5.16-1.tl3