$ git clone -n https://src.fedoraproject.org/rpms/NLopt.git /var/lib/mock/f31-build-49128-27243/root/chroot_tmpdir/scmroot/NLopt Cloning into '/var/lib/mock/f31-build-49128-27243/root/chroot_tmpdir/scmroot/NLopt'... $ git reset --hard b312a44c918e7d8a069e5ac97b47ecdca42dc433 HEAD is now at b312a44 Update to 2.6.1