$ git clone -n https://github.com/xcp-ng-rpms/xs-opam-repo.git /var/lib/mock/v8.3-u-psafont2-9635-28361/root/chroot_tmpdir/scmroot/xs-opam-repo Cloning into '/var/lib/mock/v8.3-u-psafont2-9635-28361/root/chroot_tmpdir/scmroot/xs-opam-repo'... $ git fetch origin 1f45f390535db5afae980b87f891e3f88e5532e5:KOJI_FETCH_HEAD From https://github.com/xcp-ng-rpms/xs-opam-repo * [new ref] 1f45f390535db5afae980b87f891e3f88e5532e5 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1f45f39 bump release for test build