$ git clone -n https://github.com/xcp-ng-rpms/sm.git /var/lib/mock/v8.3-u-abourgeois2-9442-28185/root/chroot_tmpdir/scmroot/sm Cloning into '/var/lib/mock/v8.3-u-abourgeois2-9442-28185/root/chroot_tmpdir/scmroot/sm'... $ git fetch origin cc59d8930e80a8b810c156cfc094b6b07c09dbf1:KOJI_FETCH_HEAD From https://github.com/xcp-ng-rpms/sm * [new ref] cc59d8930e80a8b810c156cfc094b6b07c09dbf1 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at cc59d89 bump release for test build