$ git clone -n https://src.fedoraproject.org/rpms/ghc-modern-uri.git /var/lib/mock/f40-build-763373-122473/root/chroot_tmpdir/scmroot/ghc-modern-uri Cloning into '/var/lib/mock/f40-build-763373-122473/root/chroot_tmpdir/scmroot/ghc-modern-uri'... $ git fetch origin a6c7cf0c2b97145cda5236bf052b6d752fbcef50:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/ghc-modern-uri * [new ref] a6c7cf0c2b97145cda5236bf052b6d752fbcef50 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a6c7cf0 bump release