$ git clone -n https://gitee.com/fundawang/libxml2.git /var/lib/mock/dist-an23-build-353350-71018/root/chroot_tmpdir/scmroot/libxml2 Cloning into '/var/lib/mock/dist-an23-build-353350-71018/root/chroot_tmpdir/scmroot/libxml2'... $ git fetch origin 0355b8bd6d07c57856f918ba0cbe2fa6ae969215:KOJI_FETCH_HEAD From https://gitee.com/fundawang/libxml2 * [new ref] 0355b8bd6d07c57856f918ba0cbe2fa6ae969215 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 0355b8b 2.11.7