$ git clone -n https://src.fedoraproject.org/rpms/ghc-brick.git /var/lib/mock/f41-build-839489-160201/root/chroot_tmpdir/scmroot/ghc-brick Cloning into '/var/lib/mock/f41-build-839489-160201/root/chroot_tmpdir/scmroot/ghc-brick'... $ git fetch origin 5aaec2d19df6380988004c97eb05f45b2cc02831:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/ghc-brick * [new ref] 5aaec2d19df6380988004c97eb05f45b2cc02831 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5aaec2d update to 2.1.1