$ git clone -n https://src.fedoraproject.org/rpms/cab.git /var/lib/mock/f41-build-840197-160595/root/chroot_tmpdir/scmroot/cab Cloning into '/var/lib/mock/f41-build-840197-160595/root/chroot_tmpdir/scmroot/cab'... $ git fetch origin 0b7aad7b9658de5ebb4d21606b4868891f9a8d00:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/cab * [new ref] 0b7aad7b9658de5ebb4d21606b4868891f9a8d00 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 0b7aad7 bump release