$ git clone -n https://gitee.com/zhoujiajia111/emacs.git /var/lib/mock/dist-an23-build-445270-73273/root/chroot_tmpdir/scmroot/emacs Cloning into '/var/lib/mock/dist-an23-build-445270-73273/root/chroot_tmpdir/scmroot/emacs'... $ git fetch origin e6f5bb4debc52a6a8696fa0b1197681e72db080d:KOJI_FETCH_HEAD From https://gitee.com/zhoujiajia111/emacs * [new ref] e6f5bb4debc52a6a8696fa0b1197681e72db080d -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e6f5bb4 update emacs.spec.