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