$ git clone -n https://gitee.com/fundawang/xhost.git /var/lib/mock/dist-an23-build-190427-60785/root/chroot_tmpdir/scmroot/xhost Cloning into '/var/lib/mock/dist-an23-build-190427-60785/root/chroot_tmpdir/scmroot/xhost'... $ git fetch origin a88c55c89a1560dc75d715299d5af639bfc54b13:KOJI_FETCH_HEAD From https://gitee.com/fundawang/xhost * [new ref] a88c55c89a1560dc75d715299d5af639bfc54b13 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a88c55c 1.0.9