$ git clone -n https://src.fedoraproject.org/rpms/cockpit.git /var/lib/mock/f31-build-97757-32987/root/chroot_tmpdir/scmroot/cockpit Cloning into '/var/lib/mock/f31-build-97757-32987/root/chroot_tmpdir/scmroot/cockpit'... $ git reset --hard 00afc1743266285bd3b1c0071532c870cd782f5e HEAD is now at 00afc17 Update to 201-1