$ git clone -n https://gitee.com/yummypeng/python-cmd2.git /var/lib/mock/dist-an23-build-241065-63022/root/chroot_tmpdir/scmroot/python-cmd2 Cloning into '/var/lib/mock/dist-an23-build-241065-63022/root/chroot_tmpdir/scmroot/python-cmd2'... $ git reset --hard ad56a479cbaa031af9e605844fde09b117e519ff HEAD is now at ad56a47 Init from upstream