$ git clone -n https://gitee.com/src-opencloudos-rpms/gdb.git /var/lib/mock/dist-oc9-build-100830-65081/root/chroot_tmpdir/scmroot/gdb Cloning into '/var/lib/mock/dist-oc9-build-100830-65081/root/chroot_tmpdir/scmroot/gdb'... $ git fetch origin 51c01465c56659826b841a01e52704155d4186f2:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/gdb * [new ref] 51c01465c56659826b841a01e52704155d4186f2 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 51c0146 import gdb-13.2-7.tl4