$ git clone -n https://src.fedoraproject.org/rpms/pylast.git /var/lib/mock/f41-build-side-1-2836135-33707/root/chroot_tmpdir/scmroot/pylast Cloning into '/var/lib/mock/f41-build-side-1-2836135-33707/root/chroot_tmpdir/scmroot/pylast'... $ git fetch origin b50607abe7a291cd276dff8563213695b14de8f6:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/pylast * [new ref] b50607abe7a291cd276dff8563213695b14de8f6 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b50607a THis macro is obsolete