$ git clone -n https://src.fedoraproject.org/rpms/pcp.git /var/lib/mock/f37-build-679418-76603/root/chroot_tmpdir/scmroot/pcp Cloning into '/var/lib/mock/f37-build-679418-76603/root/chroot_tmpdir/scmroot/pcp'... $ git reset --hard 2cef2863b2c9afd335b3d0e8c9d06e70eb691e5d HEAD is now at 2cef286 Update to latest community sources