$ git clone -n https://gitee.com/zhonglingh/python-semantic_version.git /var/lib/mock/dist-an23-build-242901-63101/root/chroot_tmpdir/scmroot/python-semantic_version Cloning into '/var/lib/mock/dist-an23-build-242901-63101/root/chroot_tmpdir/scmroot/python-semantic_version'... $ git reset --hard afa74e26c183106dbcf69a057c6f65d441478fb8 HEAD is now at afa74e2 Init package from upstream