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