$ git clone -n https://src.fedoraproject.org/rpms/qbe.git /var/lib/mock/f40-build-792733-138594/root/chroot_tmpdir/scmroot/qbe Cloning into '/var/lib/mock/f40-build-792733-138594/root/chroot_tmpdir/scmroot/qbe'... $ git fetch origin 7a07d1baef91c3927440ec33102a37f09fe22ca4:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/qbe * [new ref] 7a07d1baef91c3927440ec33102a37f09fe22ca4 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 7a07d1b Merge #1 `Rebase to upstream commit 2d683e0c`