$ git clone -n https://src.fedoraproject.org/rpms/ghc-scotty.git /var/lib/mock/f41-build-840535-160777/root/chroot_tmpdir/scmroot/ghc-scotty Cloning into '/var/lib/mock/f41-build-840535-160777/root/chroot_tmpdir/scmroot/ghc-scotty'... $ git fetch origin cbf82d2938adeceb6c32dd572a2c5265a787e252:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/ghc-scotty * [new ref] cbf82d2938adeceb6c32dd572a2c5265a787e252 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at cbf82d2 https://hackage.haskell.org/package/scotty-0.20.1/changelog