$ git clone -n https://src.fedoraproject.org/rpms/samtools.git /var/lib/mock/f31-build-61434-28932/root/thebuilddir/tmp/scmroot/samtools Cloning into '/var/lib/mock/f31-build-61434-28932/root/thebuilddir/tmp/scmroot/samtools'... $ git reset --hard 8e823067b687ffaea235cb726d136fcff5f9f372 HEAD is now at 8e82306 Escape spec comments properly