$ git clone -n https://gitee.com/src-opencloudos-rpms/awscli /var/lib/mock/dist-oc8-build-30812-9200/root/chroot_tmpdir/scmroot/awscli Cloning into '/var/lib/mock/dist-oc8-build-30812-9200/root/chroot_tmpdir/scmroot/awscli'... $ git reset --hard origin/oc8 HEAD is now at 4003d2c import awscli-1.23.2-1.oc8