$ git clone -n https://src.fedoraproject.org/rpms/golang-github-prometheus-alertmanager.git /var/lib/mock/f45-build-49101-881/root/chroot_tmpdir/scmroot/golang-github-prometheus-alertmanager Cloning into '/var/lib/mock/f45-build-49101-881/root/chroot_tmpdir/scmroot/golang-github-prometheus-alertmanager'... $ git fetch origin 78267ed8f4bec6cc19438a3a60140e9ad4a79997:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/golang-github-prometheus-alertmanager * [new ref] 78267ed8f4bec6cc19438a3a60140e9ad4a79997 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 78267ed rebuild