$ git clone -n http://gitee.com/src-anolis-os/redhat-rpm-config.git /var/lib/mock/dist-an8.7-build-271403-64130/root/chroot_tmpdir/scmroot/redhat-rpm-config Cloning into '/var/lib/mock/dist-an8.7-build-271403-64130/root/chroot_tmpdir/scmroot/redhat-rpm-config'... warning: redirecting to https://gitee.com/src-anolis-os/redhat-rpm-config.git/ $ git fetch origin a8:KOJI_FETCH_HEAD warning: redirecting to https://gitee.com/src-anolis-os/redhat-rpm-config.git/ From http://gitee.com/src-anolis-os/redhat-rpm-config * [new branch] a8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9fdeea6 macros: add compiler major version