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