$ git clone -n https://gitee.com/fundawang/xrdp.git /var/lib/mock/dist-an23-build-298593-65838/root/chroot_tmpdir/scmroot/xrdp Cloning into '/var/lib/mock/dist-an23-build-298593-65838/root/chroot_tmpdir/scmroot/xrdp'... $ git fetch origin d6f9c9f326d6dbe362dd1d8557371cefed8f3b6c:KOJI_FETCH_HEAD From https://gitee.com/fundawang/xrdp * [new ref] d6f9c9f326d6dbe362dd1d8557371cefed8f3b6c -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d6f9c9f 0.9.23