$ git clone -n https://src.fedoraproject.org/rpms/softhsm.git /var/lib/mock/f41-build-831978-157208/root/chroot_tmpdir/scmroot/softhsm Cloning into '/var/lib/mock/f41-build-831978-157208/root/chroot_tmpdir/scmroot/softhsm'... $ git reset --hard 4e1bbb65ea7c6ae012c1a0b159b66951c63161fd HEAD is now at 4e1bbb6 Prevent access to global C++ variables once they deleted