$ git clone -n https://src.fedoraproject.org/rpms/shadow-utils.git /var/lib/mock/f41-build-856575-167680/root/chroot_tmpdir/scmroot/shadow-utils Cloning into '/var/lib/mock/f41-build-856575-167680/root/chroot_tmpdir/scmroot/shadow-utils'... $ git fetch origin 1a4bf4ab37baaf5c4e3be2f352d0eea7781bf916:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/shadow-utils * [new ref] 1a4bf4ab37baaf5c4e3be2f352d0eea7781bf916 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1a4bf4a useradd: fix write_full() return value