$ git clone -n https://src.fedoraproject.org/rpms/golang-github-resty.git /var/lib/mock/f41-build-1036300-18722/root/chroot_tmpdir/scmroot/golang-github-resty Cloning into '/var/lib/mock/f41-build-1036300-18722/root/chroot_tmpdir/scmroot/golang-github-resty'... $ git fetch origin 4be118bdc2134242ffebe2802cbe5686335803bf:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/golang-github-resty * [new ref] 4be118bdc2134242ffebe2802cbe5686335803bf -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4be118b Fix FTBFS