$ git clone -n https://gitee.com/ocs-bot/libpciaccess.git /var/lib/mock/dist-ocs23-build-114107-7597/root/chroot_tmpdir/scmroot/libpciaccess Cloning into '/var/lib/mock/dist-ocs23-build-114107-7597/root/chroot_tmpdir/scmroot/libpciaccess'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/ocs-bot/libpciaccess * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at fd8bc95 use tar.gz in source0