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