$ git clone -n https://gitee.com/mgb01105731/ruby_1.git /var/lib/mock/dist-an23-build-315281-67535/root/chroot_tmpdir/scmroot/ruby_1 Cloning into '/var/lib/mock/dist-an23-build-315281-67535/root/chroot_tmpdir/scmroot/ruby_1'... $ git fetch origin 1c397ae5be5bfdeaa54a8b0261d40c9ccc6b61e8:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/ruby_1 * [new ref] 1c397ae5be5bfdeaa54a8b0261d40c9ccc6b61e8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1c397ae update to 3.2.2