$ git clone -n https://gitee.com/opencloudos-stream/libXpm.git /var/lib/mock/dist-ocs23-build-32013-1335/root/chroot_tmpdir/scmroot/libXpm Cloning into '/var/lib/mock/dist-ocs23-build-32013-1335/root/chroot_tmpdir/scmroot/libXpm'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/libXpm * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d4266f7 !1 update to 3.5.15 Merge pull request !1 from abushwang/master