$ git clone -n https://gitee.com/yueeranna/python-psycopg2.git /var/lib/mock/dist-an23-build-248550-63277/root/chroot_tmpdir/scmroot/python-psycopg2 Cloning into '/var/lib/mock/dist-an23-build-248550-63277/root/chroot_tmpdir/scmroot/python-psycopg2'... $ git reset --hard 32a586eaf43629d828977d052582c6a25799e3ff HEAD is now at 32a586e init from upstream