$ git clone -n https://src.fedoraproject.org/rpms/sdcc.git /var/lib/mock/f31-build-62008-29018/root/thebuilddir/tmp/scmroot/sdcc Cloning into '/var/lib/mock/f31-build-62008-29018/root/thebuilddir/tmp/scmroot/sdcc'... $ git reset --hard 74a0db9bcad7cb05f95a84e04a49cf6616f9df13 HEAD is now at 74a0db9 Fix permission regression