$ git clone -n https://gitee.com/yueeranna/openwsman.git /var/lib/mock/dist-an23-build-238805-62881/root/chroot_tmpdir/scmroot/openwsman Cloning into '/var/lib/mock/dist-an23-build-238805-62881/root/chroot_tmpdir/scmroot/openwsman'... $ git reset --hard d25b5d9a4924c51f544b7e3944ddc1b5800c2a6e HEAD is now at d25b5d9 init from upstream