$ git clone -n https://gitee.com/gcdota930915/golang.git /var/lib/mock/dist-an23.3-build-414212-72836/root/chroot_tmpdir/scmroot/golang Cloning into '/var/lib/mock/dist-an23.3-build-414212-72836/root/chroot_tmpdir/scmroot/golang'... $ git fetch origin 05aed0b56074c68dd53024a2d7b4806a14f6e2e4:KOJI_FETCH_HEAD From https://gitee.com/gcdota930915/golang * [new ref] 05aed0b56074c68dd53024a2d7b4806a14f6e2e4 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 05aed0b Update to golang-1.22.12