$ git clone -n https://gitee.com/src-opencloudos-rpms/avahi.git /var/lib/mock/dist-oc8-build-117768-68371/root/chroot_tmpdir/scmroot/avahi Cloning into '/var/lib/mock/dist-oc8-build-117768-68371/root/chroot_tmpdir/scmroot/avahi'... $ git fetch origin 13fe0a1ceb4e8d97483b6c88b9fd460e3fdff7b9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/avahi * [new ref] 13fe0a1ceb4e8d97483b6c88b9fd460e3fdff7b9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 13fe0a1 import avahi-0.7-27.tl3.1