$ git clone -n https://gitee.com/src-anolis-os/gcc /var/lib/mock/dist-an7-els-build-427098-72790/root/chroot_tmpdir/scmroot/gcc Cloning into '/var/lib/mock/dist-an7-els-build-427098-72790/root/chroot_tmpdir/scmroot/gcc'... $ git fetch origin a7:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/gcc * [new branch] a7 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 7ffc431 Rebrand for Anolis OS