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