$ git clone -n https://src.fedoraproject.org/rpms/python-steam.git /var/lib/mock/f45-build-33199-667/root/chroot_tmpdir/scmroot/python-steam Cloning into '/var/lib/mock/f45-build-33199-667/root/chroot_tmpdir/scmroot/python-steam'... $ git fetch origin 7f001dd319ab5372988460b5cba344b50d4b4e18:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/python-steam * [new ref] 7f001dd319ab5372988460b5cba344b50d4b4e18 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 7f001dd Spec cleanup and modernization, move to Forge macros