$ git clone -n https://src.fedoraproject.org/rpms/dcap.git /var/lib/mock/f41-build-828119-155557/root/chroot_tmpdir/scmroot/dcap Cloning into '/var/lib/mock/f41-build-828119-155557/root/chroot_tmpdir/scmroot/dcap'... $ git fetch origin 576d0069d2efc4eca69a1d6880655e908a36110d:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/dcap * [new ref] 576d0069d2efc4eca69a1d6880655e908a36110d -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 576d006 Backport accepted patches from upstream