$ git clone -n https://src.fedoraproject.org/rpms/gap-pkg-grape.git /var/lib/mock/f31-build-52915-27776/root/thebuilddir/tmp/scmroot/gap-pkg-grape Cloning into '/var/lib/mock/f31-build-52915-27776/root/thebuilddir/tmp/scmroot/gap-pkg-grape'... $ git reset --hard 10562647a2307468448cabc4dd1984ffc1ad318b HEAD is now at 1056264 New upstream version.