$ git clone -n https://gitee.com/opencloudos-stream/xz.git /var/lib/mock/dist-ocs23-build-117201-8212/root/chroot_tmpdir/scmroot/xz Cloning into '/var/lib/mock/dist-ocs23-build-117201-8212/root/chroot_tmpdir/scmroot/xz'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/xz * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f3ab533 !2 upgrade to 5.4.4 Merge pull request !2 from rockerzhu/master