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