$ git clone -n https://src.fedoraproject.org/rpms/lxdm.git /var/lib/mock/f40-build-763256-122453/root/chroot_tmpdir/scmroot/lxdm Cloning into '/var/lib/mock/f40-build-763256-122453/root/chroot_tmpdir/scmroot/lxdm'... $ git fetch origin 54202fc580dbe1f168b5439f0ebb379929bbd20d:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/lxdm * [new ref] 54202fc580dbe1f168b5439f0ebb379929bbd20d -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 54202fc use new patch style