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