LONDON — Britain sent a military officer to advise India before Indian forces stormed the Golden Temple in Amritsar in 1984, leaving hundreds dead, but the advice was largely ignored and had little impact on the bloody outcome, the British government said on Tuesday.

In publishing an inquiry into Britain’s involvement in the attack on the temple, the holiest shrine for Sikhs, Foreign Secretary William Hague said the tactics India used were so different from those suggested by the British officer that London bore no responsibility for what followed.

The raid on the Golden Temple, in the northern Indian state of Punjab, was designed to flush out separatists. Estimates of the number of victims vary, but Mr. Hague said on Tuesday that official figures put the death toll at 575, while other reports suggested “as many as 3,000 people were killed, including pilgrims caught in the crossfire.”

Britain’s role in the episode came to light last month when internal government documents were released under rules allowing for the publication of official records after 30 years. On Tuesday, Mr. Hague rejected requests from some lawmakers for an apology for Britain’s role. He said an apology was not justified by the investigation done by the nation’s top civil servant, Jeremy Heywood, the cabinet secretary.