$ git clone -n https://gitee.com/fundawang/cups.git /var/lib/mock/dist-an23-build-240066-62958/root/chroot_tmpdir/scmroot/cups Cloning into '/var/lib/mock/dist-an23-build-240066-62958/root/chroot_tmpdir/scmroot/cups'... $ git reset --hard f2b75b5d2b719f2369cb017073adcff99ea7e0af HEAD is now at f2b75b5 Move .pc file into devel package