$ git clone -n https://src.fedoraproject.org/rpms/xrefresh.git /var/lib/mock/f45-build-39134-732/root/chroot_tmpdir/scmroot/xrefresh Cloning into '/var/lib/mock/f45-build-39134-732/root/chroot_tmpdir/scmroot/xrefresh'... $ git fetch origin f09c4a49fc5c6fc3b165445123ed5c3cf2dd8411:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/xrefresh * [new ref] f09c4a49fc5c6fc3b165445123ed5c3cf2dd8411 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f09c4a4 simplify .gitignore file