$ git clone -n https://src.fedoraproject.org/rpms/kf5-purpose.git /var/lib/mock/f31-build-77099-31475/root/thebuilddir/tmp/scmroot/kf5-purpose Cloning into '/var/lib/mock/f31-build-77099-31475/root/thebuilddir/tmp/scmroot/kf5-purpose'... $ git reset --hard aaaedd991dc47499e58acfbdf144f743f34210d4 HEAD is now at aaaedd9 update build deps