$ git clone -n https://gitee.com/src-opencloudos-rpms/emacs.git /var/lib/mock/dist-oc8-build-115765-67915/root/chroot_tmpdir/scmroot/emacs Cloning into '/var/lib/mock/dist-oc8-build-115765-67915/root/chroot_tmpdir/scmroot/emacs'... $ git fetch origin 278ae51a1dd43ed8657bbd842bd09c7afddb3a44:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/emacs * [new ref] 278ae51a1dd43ed8657bbd842bd09c7afddb3a44 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 278ae51 import emacs-26.1-12.tl3