$ git clone -n https://gitee.com/opencloudos-stream/python-django.git /var/lib/mock/dist-ocs23-build-77205-4561/root/chroot_tmpdir/scmroot/python-django Cloning into '/var/lib/mock/dist-ocs23-build-77205-4561/root/chroot_tmpdir/scmroot/python-django'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/python-django * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 79dd099 !2 use %setup for bootstrap Merge pull request !2 from abushwang/master