$ git clone -n https://gitee.com/src-opencloudos-rpms/golang.git /var/lib/mock/dist-oc9-build-123329-72838/root/chroot_tmpdir/scmroot/golang Cloning into '/var/lib/mock/dist-oc9-build-123329-72838/root/chroot_tmpdir/scmroot/golang'... $ git fetch origin 3db2c272f4fe5875536a26ac1da08787f5118d5e:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/golang * [new ref] 3db2c272f4fe5875536a26ac1da08787f5118d5e -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3db2c27 import golang-1.22.10-2.tl4