$ git clone -n https://gitee.com/src-anolis-os/dwarves.git /var/lib/mock/dist-an7_9-updates-build-370998-71186/root/chroot_tmpdir/scmroot/dwarves Cloning into '/var/lib/mock/dist-an7_9-updates-build-370998-71186/root/chroot_tmpdir/scmroot/dwarves'... $ git fetch origin a7:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/dwarves * [new branch] a7 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1503bf0 updates to dwarves-1.17-1.el7.src.rpm