$ git clone -n https://src.fedoraproject.org/rpms/syncthing.git /var/lib/mock/f41-build-847700-164042/root/chroot_tmpdir/scmroot/syncthing Cloning into '/var/lib/mock/f41-build-847700-164042/root/chroot_tmpdir/scmroot/syncthing'... $ git fetch origin 2c25bc5d13d5924bf02d0d13e00b8f2bc7f61299:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/syncthing * [new ref] 2c25bc5d13d5924bf02d0d13e00b8f2bc7f61299 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2c25bc5 Update to version 1.27.12; Fixes RHBZ#2303591