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