$ git clone -n https://gitee.com/renbo02/rubygem-mysql2.git /var/lib/mock/dist-an8.9-build-396427-72216/root/chroot_tmpdir/scmroot/rubygem-mysql2 Cloning into '/var/lib/mock/dist-an8.9-build-396427-72216/root/chroot_tmpdir/scmroot/rubygem-mysql2'... $ git fetch origin 59969c4a178513ca6261593a15431aa952d3f1f1:KOJI_FETCH_HEAD From https://gitee.com/renbo02/rubygem-mysql2 * [new ref] 59969c4a178513ca6261593a15431aa952d3f1f1 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 59969c4 import rubygem-mysql2-0.5.5-1.src.rpm