$ git clone -n https://src.fedoraproject.org/rpms/rocksndiamonds.git /var/lib/mock/f33-build-376941-61762/root/chroot_tmpdir/scmroot/rocksndiamonds Cloning into '/var/lib/mock/f33-build-376941-61762/root/chroot_tmpdir/scmroot/rocksndiamonds'... $ git reset --hard fe33b7a280af85d0ec9236caffa507468d77548b HEAD is now at fe33b7a 4.2.1.0