$ git clone -n https://gitee.com/zhuhong_bo/kwin.git /var/lib/mock/dist-an23-dde-build-523598-77061/root/chroot_tmpdir/scmroot/kwin Cloning into '/var/lib/mock/dist-an23-dde-build-523598-77061/root/chroot_tmpdir/scmroot/kwin'... $ git fetch origin 8a0bb1dd2f6140ffcda0f0cda5811e9e6905fc23:KOJI_FETCH_HEAD From https://gitee.com/zhuhong_bo/kwin * [new ref] 8a0bb1dd2f6140ffcda0f0cda5811e9e6905fc23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 8a0bb1d update to version 5.27.2.312