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