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