$ git clone -n https://gitee.com/src-opencloudos-rpms/firefox.git /var/lib/mock/dist-oc9-build-72755-48177/root/chroot_tmpdir/scmroot/firefox Cloning into '/var/lib/mock/dist-oc9-build-72755-48177/root/chroot_tmpdir/scmroot/firefox'... $ git fetch origin 80ea422a37c44bde49b224dcd8b4b8bfdbb54c8e:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/firefox * [new ref] 80ea422a37c44bde49b224dcd8b4b8bfdbb54c8e -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 80ea422 Add auto-patch changlog