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