$ git clone -n https://src.fedoraproject.org/rpms/httpcomponents-project.git /var/lib/mock/f45-build-57948-1003/root/chroot_tmpdir/scmroot/httpcomponents-project Cloning into '/var/lib/mock/f45-build-57948-1003/root/chroot_tmpdir/scmroot/httpcomponents-project'... $ git fetch origin 4c59ce5d30047feec7c880cead93cadd5983e4e9:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/httpcomponents-project * [new ref] 4c59ce5d30047feec7c880cead93cadd5983e4e9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4c59ce5 Update to upstream version 14