$ git clone -n https://src.fedoraproject.org/rpms/python-testtools.git /var/lib/mock/f40-build-2204477-51961/root/chroot_tmpdir/scmroot/python-testtools Cloning into '/var/lib/mock/f40-build-2204477-51961/root/chroot_tmpdir/scmroot/python-testtools'... $ git fetch origin f0d4b5c8f50043dde9e08a36a404ac5ec2989b28:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/python-testtools * [new ref] f0d4b5c8f50043dde9e08a36a404ac5ec2989b28 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f0d4b5c Update to 2.7.1 (rhbz#2247544)