$ git clone -n https://gitee.com/qu_zhi_yuan/swclang.git /var/lib/mock/dist-an23-build-447329-73363/root/chroot_tmpdir/scmroot/swclang Cloning into '/var/lib/mock/dist-an23-build-447329-73363/root/chroot_tmpdir/scmroot/swclang'... $ git fetch origin e6875d11cbb31605f87eb49841125e53490f7c89:KOJI_FETCH_HEAD From https://gitee.com/qu_zhi_yuan/swclang * [new ref] e6875d11cbb31605f87eb49841125e53490f7c89 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e6875d1 first commit