$ git clone -n https://gitee.com/dian-ws/pbzip2.git /var/lib/mock/dist-an23-build-194643-60869/root/chroot_tmpdir/scmroot/pbzip2 Cloning into '/var/lib/mock/dist-an23-build-194643-60869/root/chroot_tmpdir/scmroot/pbzip2'... $ git reset --hard aaf4ed0505f965b904a083b598d4b196d5584b6a HEAD is now at aaf4ed0 update spec file