$ git clone -n https://gitee.com/fundawang/golang.git /var/lib/mock/dist-an23-build-291207-65044/root/chroot_tmpdir/scmroot/golang Cloning into '/var/lib/mock/dist-an23-build-291207-65044/root/chroot_tmpdir/scmroot/golang'... $ git fetch origin b6d5692821fc5404006362945c288fef5aac0ca2:KOJI_FETCH_HEAD From https://gitee.com/fundawang/golang * [new ref] b6d5692821fc5404006362945c288fef5aac0ca2 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b6d5692 1.20.6