$ git clone -n https://gitee.com/src-opencloudos-rpms/lsof /var/lib/mock/dist-oc9-donghua-build-123117-72775/root/chroot_tmpdir/scmroot/lsof Cloning into '/var/lib/mock/dist-oc9-donghua-build-123117-72775/root/chroot_tmpdir/scmroot/lsof'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/lsof * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 601b318 import lsof-4.99.4-1.tl4