$ git clone -n https://github.com/xcp-ng-rpms/xapi.git /var/lib/mock/v8.3-u-asultanov2-10224-28797/root/chroot_tmpdir/scmroot/xapi Cloning into '/var/lib/mock/v8.3-u-asultanov2-10224-28797/root/chroot_tmpdir/scmroot/xapi'... $ git fetch origin 10f01b8243767dfde685f5f3d5d835f6c8361d52:KOJI_FETCH_HEAD From https://github.com/xcp-ng-rpms/xapi * [new ref] 10f01b8243767dfde685f5f3d5d835f6c8361d52 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 10f01b8 bump release for test build