$ git clone -n https://gitee.com/yummypeng/libpfm.git /var/lib/mock/dist-an23-build-240045-62956/root/chroot_tmpdir/scmroot/libpfm Cloning into '/var/lib/mock/dist-an23-build-240045-62956/root/chroot_tmpdir/scmroot/libpfm'... $ git reset --hard d71c6f827c6fe06942dc6bc8e31d58f6ab70773d HEAD is now at d71c6f8 Init from upstream