$ git clone -n https://src.fedoraproject.org/rpms/ghc-koji.git /var/lib/mock/f41-build-840824-160968/root/chroot_tmpdir/scmroot/ghc-koji Cloning into '/var/lib/mock/f41-build-840824-160968/root/chroot_tmpdir/scmroot/ghc-koji'... $ git fetch origin 493e945a489b88d630fbafb9da31360df83bf729:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/ghc-koji * [new ref] 493e945a489b88d630fbafb9da31360df83bf729 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 493e945 bump release