$ git clone -n https://gitee.com/opencloudos-stream/libldevice.git /var/lib/mock/dist-ocs23-build-179031-11449/root/chroot_tmpdir/scmroot/libldevice Cloning into '/var/lib/mock/dist-ocs23-build-179031-11449/root/chroot_tmpdir/scmroot/libldevice'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/libldevice * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 595db30 !1 upgrade to upstream 0.2.1 Merge pull request !1 from jeremiazhao/master