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