$ git clone -n https://src.fedoraproject.org/rpms/gcc.git /var/lib/mock/f41-build-847371-163983/root/chroot_tmpdir/scmroot/gcc Cloning into '/var/lib/mock/f41-build-847371-163983/root/chroot_tmpdir/scmroot/gcc'... $ git reset --hard dc203d1b77666d6375f6e5e73dfa9d49a33392a3 HEAD is now at dc203d1 14.2.1-3