$ git clone -n https://gitee.com/openclouldos-exnde/kde-settings.git /var/lib/mock/dist-oc8-exnde-build-36694-11988/root/chroot_tmpdir/scmroot/kde-settings Cloning into '/var/lib/mock/dist-oc8-exnde-build-36694-11988/root/chroot_tmpdir/scmroot/kde-settings'... $ git reset --hard origin/rebuild HEAD is now at a0eccdd rebuild