$ git clone -n https://gitee.com/src-opencloudos-rpms/gcc.git /var/lib/mock/dist-oc8-build-75163-52105/root/chroot_tmpdir/scmroot/gcc Cloning into '/var/lib/mock/dist-oc8-build-75163-52105/root/chroot_tmpdir/scmroot/gcc'... $ git fetch origin 63809bd65793fa6cbf6966d919bbdb00025ec46f:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/gcc * [new ref] 63809bd65793fa6cbf6966d919bbdb00025ec46f -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 63809bd import gcc-8.5.0-22.tl3.1