$ git clone -n https://src.fedoraproject.org/rpms/golang-sr-nelsam-hel.git /var/lib/mock/f40-build-737449-107153/root/chroot_tmpdir/scmroot/golang-sr-nelsam-hel Cloning into '/var/lib/mock/f40-build-737449-107153/root/chroot_tmpdir/scmroot/golang-sr-nelsam-hel'... $ git fetch origin a5135639d15ddd43653bc5c5520c66958709e342:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/golang-sr-nelsam-hel * [new ref] a5135639d15ddd43653bc5c5520c66958709e342 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a513563 Initial import; Fixes: RHBZ#2227434