$ git clone -n https://src.fedoraproject.org/rpms/rtorrent.git /var/lib/mock/f40-build-2232626-53341/root/chroot_tmpdir/scmroot/rtorrent Cloning into '/var/lib/mock/f40-build-2232626-53341/root/chroot_tmpdir/scmroot/rtorrent'... $ git fetch origin 2c09dc69117a80f3e6387ceb42d03cffa0453858:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/rtorrent * [new ref] 2c09dc69117a80f3e6387ceb42d03cffa0453858 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2c09dc6 C compatibility fix for the configure script