$ git clone -n https://github.com/xcp-ng-rpms/xapi /var/lib/mock/v8.3-incoming-11531-29848/root/chroot_tmpdir/scmroot/xapi Cloning into '/var/lib/mock/v8.3-incoming-11531-29848/root/chroot_tmpdir/scmroot/xapi'... $ git fetch origin 442a50fec8cf298bee0050ea73d9236e4a9faa4e:KOJI_FETCH_HEAD From https://github.com/xcp-ng-rpms/xapi * [new ref] 442a50fec8cf298bee0050ea73d9236e4a9faa4e -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 442a50f Merge pull request #126 from xcp-ng-rpms/srt/xcp-ng-open-close-openflow-port