$ git clone -n https://gitee.com/src-opencloudos-rpms/python-s3transfer.git /var/lib/mock/dist-oc8-build-26734-7792/root/chroot_tmpdir/scmroot/python-s3transfer Cloning into '/var/lib/mock/dist-oc8-build-26734-7792/root/chroot_tmpdir/scmroot/python-s3transfer'... $ git reset --hard cdbd0e2847767c21d0d36dc5cd74012f8111a435 HEAD is now at cdbd0e2 import python-s3transfer-0.1.13-1.oc8