$ git clone -n https://gitee.com/costinchen/vtk.git /var/lib/mock/dist-ocs23-epol9-build-282146-27155/root/chroot_tmpdir/scmroot/vtk Cloning into '/var/lib/mock/dist-ocs23-epol9-build-282146-27155/root/chroot_tmpdir/scmroot/vtk'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/costinchen/vtk * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a63bf7a update