$ git clone -n https://gitee.com/SmallPegasus/iproute.git /var/lib/mock/dist-an23.1-devel-build-363480-71236/root/chroot_tmpdir/scmroot/iproute Cloning into '/var/lib/mock/dist-an23.1-devel-build-363480-71236/root/chroot_tmpdir/scmroot/iproute'... $ git fetch origin 4d4c9d1cb7a7ced55b034de3506f47b2c6f532fe:KOJI_FETCH_HEAD From https://gitee.com/SmallPegasus/iproute * [new ref] 4d4c9d1cb7a7ced55b034de3506f47b2c6f532fe -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4d4c9d1 update iproute.spec.