$ git clone -n https://src.fedoraproject.org/rpms/rrdtool.git /var/lib/mock/f41-build-835474-158577/root/chroot_tmpdir/scmroot/rrdtool Cloning into '/var/lib/mock/f41-build-835474-158577/root/chroot_tmpdir/scmroot/rrdtool'... $ git reset --hard cbfaf8e9ad19d50dce531eb10c828e861b7b6319 HEAD is now at cbfaf8e New version