$ git clone -n https://src.fedoraproject.org/rpms/openfortivpn.git /var/lib/mock/f41-build-855175-167075/root/chroot_tmpdir/scmroot/openfortivpn Cloning into '/var/lib/mock/f41-build-855175-167075/root/chroot_tmpdir/scmroot/openfortivpn'... $ git fetch origin 160b1f138245130e0c542282b21a341f8a8deef5:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/openfortivpn * [new ref] 160b1f138245130e0c542282b21a341f8a8deef5 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 160b1f1 Update to latest upstream version