$ git clone -n https://github.com/xcp-ng-rpms/sm.git /var/lib/mock/v8.3-incoming-9127-27953/root/chroot_tmpdir/scmroot/sm Cloning into '/var/lib/mock/v8.3-incoming-9127-27953/root/chroot_tmpdir/scmroot/sm'... $ git fetch origin 16fc4b4a1c4da60eb5179c69c15bd554835cb86b:KOJI_FETCH_HEAD From https://github.com/xcp-ng-rpms/sm * [new ref] 16fc4b4a1c4da60eb5179c69c15bd554835cb86b -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 16fc4b4 Release 3.2.12-3.3