$ git clone -n https://src.fedoraproject.org/rpms/cockpit.git /var/lib/mock/f41-build-846066-162955/root/chroot_tmpdir/scmroot/cockpit Cloning into '/var/lib/mock/f41-build-846066-162955/root/chroot_tmpdir/scmroot/cockpit'... $ git fetch origin c705cc8a6cfed564f5366d42032f93b2dc45c506:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/cockpit * [new ref] c705cc8a6cfed564f5366d42032f93b2dc45c506 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c705cc8 Update to 323 upstream release