$ git clone -n https://gitee.com/src-opencloudos-rpms/libXdamage.git /var/lib/mock/dist-oc9-build-62400-16463/root/chroot_tmpdir/scmroot/libXdamage Cloning into '/var/lib/mock/dist-oc9-build-62400-16463/root/chroot_tmpdir/scmroot/libXdamage'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/libXdamage * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d0c703d import libXdamage-1.1.6-2.tl4