$ git clone -n https://src.fedoraproject.org/rpms/NLopt.git /var/lib/mock/f33-build-243562-50736/root/chroot_tmpdir/scmroot/NLopt Cloning into '/var/lib/mock/f33-build-243562-50736/root/chroot_tmpdir/scmroot/NLopt'... $ git reset --hard 2baffd3f60141bcf634967602589562e6e0712bc HEAD is now at 2baffd3 Update to 2.6.2