$ git clone -n https://gitee.com/src-opencloudos-rpms/emacs.git /var/lib/mock/dist-oc8-build-73383-48915/root/chroot_tmpdir/scmroot/emacs Cloning into '/var/lib/mock/dist-oc8-build-73383-48915/root/chroot_tmpdir/scmroot/emacs'... $ git fetch origin 03fc851397197fe7e03ef70d7fa204427ca829e1:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/emacs * [new ref] 03fc851397197fe7e03ef70d7fa204427ca829e1 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 03fc851 import emacs-26.1-11.tl3