$ git clone -n https://gitee.com/src-opencloudos-rpms/gcc-toolset-12-gdb /var/lib/mock/dist-oc8-gcc-toolset-12-build-27150-8318/root/chroot_tmpdir/scmroot/gcc-toolset-12-gdb Cloning into '/var/lib/mock/dist-oc8-gcc-toolset-12-build-27150-8318/root/chroot_tmpdir/scmroot/gcc-toolset-12-gdb'... $ git reset --hard origin/oc8 HEAD is now at 7ac8511 import gcc-toolset-12-gdb-11.2-3.tl3